Switch to gh tool for release creation, see https://github.com/actions/runner-images/issues/8362
This commit is contained in:
parent
4af73184b2
commit
ab647e6e4d
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -84,7 +84,7 @@ jobs:
|
||||||
assets+=("-a" "$asset")
|
assets+=("-a" "$asset")
|
||||||
done
|
done
|
||||||
tag_name="${GITHUB_REF##*/}"
|
tag_name="${GITHUB_REF##*/}"
|
||||||
hub release create "${assets[@]}" -m "$tag_name" "$tag_name"
|
gh release create "$tag_name" "${assets[@]}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
@ -97,6 +97,6 @@ jobs:
|
||||||
assets+=("-a" "$asset")
|
assets+=("-a" "$asset")
|
||||||
done
|
done
|
||||||
tag_name="${GITHUB_REF##*/}"
|
tag_name="${GITHUB_REF##*/}"
|
||||||
hub release create -p "${assets[@]}" -m "$tag_name" -m "This is a pre-release for testing purposes only. It may or may not be unstable." -m "Join the Telegram group to help out: https://github.com/Wunderfitz/harbour-fernschreiber/issues/162" "$tag_name"
|
gh release create "$tag_name" -p -n "This is a pre-release for testing purposes only. It may or may not be unstable." "${assets[@]}"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue