From c8b95eb219b1ee14d86286136ebb3ebefcd10187 Mon Sep 17 00:00:00 2001 From: hev Date: Sun, 24 Nov 2024 15:58:46 +0800 Subject: [PATCH] CI: Fix the artifact file name. --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 81de8fc..427f4ed 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,12 +32,12 @@ jobs: export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 yes | sdk/cmdline-tools/bin/sdkmanager --sdk_root=`pwd`/sdk --licenses ./gradlew assembleRelease - cp app/build/outputs/apk/release/hev.sockstun-*-release.apk hev.sockstun-${{ github.ref_name }}.apk + cp app/build/outputs/apk/release/hev.sockstun-*-release.apk hev.sockstun-${{ github.ref_name }}-release.apk - name: Upload uses: actions/upload-artifact@v4 with: - name: hev.sockstun-${{ github.ref_name }}.apk - path: hev.sockstun-${{ github.ref_name }}.apk + name: hev.sockstun-${{ github.ref_name }}-release.apk + path: hev.sockstun-${{ github.ref_name }}-release.apk if-no-files-found: error retention-days: 1