From 5e8dbfa26d7ae0f8262780138ecbd308430a0aba Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sat, 9 May 2026 01:14:23 +0800 Subject: [PATCH] ci: disambiguate APK release assets --- .github/workflows/release.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e9afa09..d5e0266 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -151,12 +151,23 @@ jobs: uses: actions/download-artifact@v8 with: path: gh-release + - name: Rename APK artifacts + run: | + shopt -s nullglob + + for file in gh-release/artifact-ubuntu-latest-apk/*.apk; do + mv "$file" "${file%.apk}-x86_64.apk" + done + for file in gh-release/artifact-ubuntu-24.04-arm-apk/*.apk; do + mv "$file" "${file%.apk}-aarch64.apk" + done - name: Update release uses: softprops/action-gh-release@v1 with: token: ${{ secrets.GH_PAT }} prerelease: ${{ contains(github.ref, 'snapshot') }} fail_on_unmatched_files: true + overwrite_files: true tag_name: ${{ inputs.tag }} files: | gh-release/artifact-*/*