mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-30 14:11:07 +01:00
Changed: Use GitHub cli instead of hub for uploading GitHub release files as later has been removed from runner images
- https://github.com/actions/runner-images/issues/8362
This commit is contained in:
parent
57e4ef456b
commit
bf33a54fe9
1 changed files with 8 additions and 9 deletions
|
|
@ -71,14 +71,13 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Attaching APKs to github release"
|
echo "Attaching APKs to github release"
|
||||||
if ! hub release edit \
|
if ! gh release upload "$RELEASE_VERSION_NAME" \
|
||||||
-m "" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_universal.apk" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_universal.apk" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_arm64-v8a.apk" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_arm64-v8a.apk" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_armeabi-v7a.apk" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_armeabi-v7a.apk" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_x86_64.apk" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_x86_64.apk" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_x86.apk" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_x86.apk" \
|
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}_sha256sums" \
|
||||||
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}_sha256sums" \
|
; then
|
||||||
"$RELEASE_VERSION_NAME"; then
|
|
||||||
exit_on_error "Attach APKs to release failed for '$APK_VERSION_TAG' release."
|
exit_on_error "Attach APKs to release failed for '$APK_VERSION_TAG' release."
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue