Skip to content

Commit

Permalink
Changed: Use GitHub cli instead of hub for uploading GitHub relea…
Browse files Browse the repository at this point in the history
…se files as later has been removed from runner images

- actions/runner-images#8362
  • Loading branch information
agnostic-apollo committed Dec 22, 2024
1 parent e6aaf61 commit 828fea2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/github_release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ jobs:
echo "checksums-sha256.txt:"$'\n```\n'"$(cat "$APK_DIR_PATH/checksums-sha256.txt")"$'\n```'
echo "Uploading files to release"
if ! hub release edit \
-m "" \
-a "$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk" \
-a "$APK_DIR_PATH/checksums-sha256.txt" \
"$RELEASE_VERSION_NAME"; then
if ! gh release upload "$RELEASE_VERSION_NAME" \
"$APK_DIR_PATH/${APK_BASENAME_PREFIX}.apk" \
"$APK_DIR_PATH/checksums-sha256.txt" \
; then
exit_on_error "Upload files to release failed for '$RELEASE_VERSION_NAME' release."
fi

0 comments on commit 828fea2

Please sign in to comment.