feat(Actions): Include short SHA in tag

This commit is contained in:
Yimura 2022-01-03 18:08:15 +01:00
parent e3e2d43098
commit a7728d4e91

View File

@ -59,7 +59,7 @@ jobs:
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
name: Nightly ${{ steps.short_sha.outputs.sha_short }} name: Nightly ${{ steps.short_sha.outputs.sha_short }}
tag_name: nightly tag_name: nightly_${{ steps.short_sha.outputs.sha_short }}
body: | body: |
This nightly release is provided for testing purposes only, there's no warranty provided if your account gets banned online. This nightly release is provided for testing purposes only, there's no warranty provided if your account gets banned online.
@ -73,4 +73,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
keep_latest: 7 keep_latest: 7
delete_tag_pattern: nightly delete_tag_pattern: 'nightly_*'