Skip to content

Commit eb334a3

Browse files
committed
[.github] fix(release): use unique asset names for ABI binaries
1 parent 86ae847 commit eb334a3

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ jobs:
133133
make checksums TAG="${TAG}" REPO="${GITHUB_REPOSITORY}"
134134
make update-json TAG="${TAG}" REPO="${GITHUB_REPOSITORY}"
135135
136+
cp -f bin/arm64-v8a/andro dist/andro-arm64-v8a
137+
cp -f bin/armeabi-v7a/andro dist/andro-armeabi-v7a
138+
cp -f bin/x86/andro dist/andro-x86
139+
cp -f bin/x86_64/andro dist/andro-x86_64
140+
136141
echo "zip_name=${ZIP_NAME}" >> "${GITHUB_OUTPUT}"
137142
echo "zip_path=${ZIP_PATH}" >> "${GITHUB_OUTPUT}"
138143
@@ -155,10 +160,20 @@ jobs:
155160
${{ steps.package.outputs.zip_path }}.sha256
156161
dist/update.json
157162
dist/andro-binaries.sha256
158-
bin/arm64-v8a/andro
159-
bin/armeabi-v7a/andro
160-
bin/x86/andro
161-
bin/x86_64/andro
163+
dist/andro-arm64-v8a
164+
dist/andro-armeabi-v7a
165+
dist/andro-x86
166+
dist/andro-x86_64
167+
168+
- name: Verify Published Release
169+
shell: bash
170+
env:
171+
GH_TOKEN: ${{ github.token }}
172+
run: |
173+
set -euo pipefail
174+
gh release view "${{ steps.meta.outputs.tag }}" \
175+
--repo "${GITHUB_REPOSITORY}" \
176+
--json tagName,name,isDraft,isPrerelease,url
162177
163178
- name: Upload Dist Artifact
164179
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)