mirror of
https://github.com/iBotPeaches/Apktool.git
synced 2024-11-23 04:30:04 +00:00
build: move to modern gradle actions (#3594)
This commit is contained in:
parent
6079f852fc
commit
6b986e9a45
29
.github/workflows/build.yml
vendored
29
.github/workflows/build.yml
vendored
@ -76,10 +76,16 @@ jobs:
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Build and test
|
||||
uses: gradle/actions/setup-gradle@v3.3.2
|
||||
with:
|
||||
arguments: build shadowJar proguard
|
||||
|
||||
- uses: gradle/actions/setup-gradle@v3.3.2
|
||||
|
||||
- name: Build (Linux/Mac)
|
||||
if: runner.os != 'Windows'
|
||||
run: ./gradlew build shadowJar proguard
|
||||
|
||||
- name: Build (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: ./gradlew.bat build shadowJar proguard
|
||||
|
||||
upload-artifact:
|
||||
runs-on: ubuntu-latest
|
||||
@ -91,15 +97,24 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 17
|
||||
- name: Build
|
||||
uses: gradle/actions/setup-gradle@v3.3.2
|
||||
|
||||
- uses: gradle/actions/setup-gradle@v3.3.2
|
||||
with:
|
||||
dependency-graph: generate-and-submit
|
||||
arguments: build shadowJar proguard
|
||||
|
||||
- name: Build (Linux/Mac)
|
||||
if: runner.os != 'Windows'
|
||||
run: ./gradlew build shadowJar proguard
|
||||
|
||||
- name: Build (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: ./gradlew.bat build shadowJar proguard
|
||||
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user