From 4085fe341c551dcbbe45511291641bb1e8728e08 Mon Sep 17 00:00:00 2001 From: b4byhuey <60543438+b4byhuey@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:52:50 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85fed6104a..b52f4c29af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 @@ -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"