forked from valetzx/Kapuncino-Client-zhCN
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 922 Bytes
/
gradle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Automate Gradlew Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Action
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "adopt"
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
- name: Execute Gradle build
run: ./gradlew build --no-daemon
- name: 自动释放
uses: marvinpinto/[email protected]
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "Latest-1.19.4"
prerelease: false
title: "1.2.1"
files: |
build/libs/*