mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 22:46:14 -05:00
ci: disambiguate APK release assets
This commit is contained in:
1 file changed
+11
@@ -151,12 +151,23 @@ jobs:
|
|||||||
uses: actions/download-artifact@v8
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
path: gh-release
|
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
|
- name: Update release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_PAT }}
|
token: ${{ secrets.GH_PAT }}
|
||||||
prerelease: ${{ contains(github.ref, 'snapshot') }}
|
prerelease: ${{ contains(github.ref, 'snapshot') }}
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
overwrite_files: true
|
||||||
tag_name: ${{ inputs.tag }}
|
tag_name: ${{ inputs.tag }}
|
||||||
files: |
|
files: |
|
||||||
gh-release/artifact-*/*
|
gh-release/artifact-*/*
|
||||||
Reference in new issue
Block a user