Skip to content

Commit 4b97c8a

Browse files
committed
fix(ci/package_on_device): do not conflict gh release upload archive filename with packages.yml
1 parent b0468c5 commit 4b97c8a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/package_on_device.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,10 @@ jobs:
282282
run: |
283283
GITHUB_SHA=${{ github.sha }}
284284
for archive in debs-*/debs-{aarch64,arm,i686,x86_64}-${{ github.sha }}.tar; do
285-
gh release upload -R https://github.com/termux-user-repository/tur "0.1" $archive
286-
echo "$archive uploaded"
285+
tur_on_device_archive="${archive//.tar/-tur-on-device.tar}"
286+
mv "$archive" "$tur_on_device_archive"
287+
gh release upload -R https://github.com/termux-user-repository/tur "0.1" "$tur_on_device_archive"
288+
echo "$tur_on_device_archive uploaded"
287289
done
288290
- name: Trigger workflow in dists repository
289291
env:

0 commit comments

Comments
 (0)