Skip to content

Commit 06fadcb

Browse files
committed
Add short hash
1 parent 81a8dd3 commit 06fadcb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ jobs:
147147
needs: [build]
148148
steps:
149149
- uses: actions/checkout@v4
150+
- name: Set variables
151+
id: vars
152+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
150153
- uses: actions/download-artifact@v4
151154
- name: List downloaded files
152155
run: ls -lah rz-notebook-*/*
@@ -167,9 +170,9 @@ jobs:
167170
uses: softprops/action-gh-release@v2
168171
with:
169172
token: ${{ secrets.GITHUB_TOKEN }}
170-
name: Nightly
173+
name: Nightly (${{ steps.vars.outputs.sha_short }})
171174
draft: false
172-
tag_name: nightly
175+
tag_name: nightly-${{ steps.vars.outputs.sha_short }}
173176
generate_release_notes: true
174177
prerelease: true
175178
files: |

0 commit comments

Comments
 (0)