1 parent 816d1c5 commit a84f1deCopy full SHA for a84f1de
1 file changed
.github/workflows/release.yml
@@ -15,6 +15,10 @@ jobs:
15
- name: Check out repository
16
uses: actions/checkout@v4
17
18
+ - name: Derive short commit hash
19
+ id: vars
20
+ run: echo "short_sha=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
21
+
22
- name: Build zip bundle
23
run: |
24
mkdir -p dist/anki_jam
@@ -25,8 +29,8 @@ jobs:
25
29
- name: Create GitHub release
26
30
uses: ncipollo/release-action@v1
27
31
with:
28
- tag: auto-${{ github.run_number }}
- name: Automated build ${{ github.run_number }}
32
+ tag: auto-${{ steps.vars.outputs.short_sha }}
33
+ name: anki-jam ${{ steps.vars.outputs.short_sha }}
34
commit: ${{ github.sha }}
35
artifacts: dist/anki_jam.zip
36
artifact_content_type: application/zip
0 commit comments