From 95dcb5e919691c31ed6232c2d456cf8a4d516b33 Mon Sep 17 00:00:00 2001 From: HolographicHat Date: Tue, 22 Nov 2022 17:26:19 +0800 Subject: [PATCH] update actions/upload-artifact --- .github/workflows/android.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 1015ab9..7068bef 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -23,19 +23,18 @@ jobs: run: chmod +x gradlew - name: Build with Gradle run: ./gradlew assembleRelease - - name: Install jq - run: sudo apt-get install -y jq + - run: sudo apt-get install -y jq - name: Download package run: "curl -H 'x-rpc-client_type: 2' -H 'x-rpc-app_version: 2.37.1' -H 'x-rpc-channel: miyousheluodi' https://api-takumi.mihoyo.com/ptolemaios/api/getLatestRelease | jq --raw-output '.data.package_url' | xargs curl -o origin.apk" - name: Patch package run: "java -jar gradle/lspatch/jar-v0.5.1-361-release.jar -f -l 2 -m app/build/outputs/apk/release/app-release-unsigned.apk -o pout origin.apk" - name: Upload build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.0 with: name: Artifacts path: app/build/outputs/apk/release/app-release-unsigned.apk - name: Upload patched package - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.0 with: name: Artifacts path: pout