Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
b4byhuey authored Dec 19, 2023
1 parent 194fe0c commit 4085fe3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
file: [ aapt.exe, aapt_64.exe, aapt2.exe, aapt2_64.exe ]
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4
- name: Verify Executable
run: ${{ env.BINARY_PATH }}/windows/${{ matrix.file }} version
- name: Output Static
Expand All @@ -40,29 +40,29 @@ jobs:
needs:
- analyze-windows-aapt
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Build
uses: gradle/gradle-build-action@v2.7.1
uses: gradle/gradle-build-action@v2.11.0
with:
arguments: build shadowJar proguard
- name: Upload
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v3
with:
name: apktool.jar
path: brut.apktool/apktool-cli/build/libs/apktool-*-SNAPSHOT.jar
path: brut.apktool/apktool-cli/build/libs/apktool-v*

deploy_nightly:
name: Deploy Nightly Build
runs-on: ubuntu-latest
needs: [build-apktool]
steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4

- name: Download Apktool
uses: actions/download-artifact@v3
Expand All @@ -71,14 +71,14 @@ jobs:
path: win/

- name: Remove the old Release
uses: dev-drprasad/delete-older-releases@v0.2.0
uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 0
delete_tag_pattern: "windows"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: ncipollo/release-action@v1.10.0
- uses: ncipollo/release-action@v1.13.0
with:
artifacts: "win/*.*"
name: "Snapshots for Windows"
Expand Down

0 comments on commit 4085fe3

Please sign in to comment.