From e58a5ec43583343898ba65a9ff2b4361b854537a Mon Sep 17 00:00:00 2001 From: gzu-liyujiang <1032694760@qq.com> Date: Sun, 1 Dec 2024 12:48:37 +0800 Subject: [PATCH] This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2`. --- .github/workflows/release-apk.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-apk.yml b/.github/workflows/release-apk.yml index 0a7734e..7650d48 100644 --- a/.github/workflows/release-apk.yml +++ b/.github/workflows/release-apk.yml @@ -29,9 +29,9 @@ jobs: - name: Build with Gradle run: ./gradlew clean assembleRelease --info --warning-mode all - - name: Store android package - uses: ncipollo/release-action@v1.12.0 + uses: actions/upload-artifact@v4 with: - artifacts: "app/build/outputs/apk/pub/release/*.apk" - token: ${{ secrets.GITHUB_TOKEN }} - generateReleaseNotes: true + name: artifact + path: app/build/outputs/apk/pub/release/*.apk + if-no-files-found: warn + retention-days: 7