Skip to content

Commit 3c94e91

Browse files
committed
Use short SHA in artifact name
1 parent 772e021 commit 3c94e91

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ jobs:
3636
extra_system_packages: "font-liberation"
3737
latexmk_shell_escape: true
3838

39+
- name: Get short SHA for commit
40+
id: sha_short
41+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
42+
3943
- name: Upload PDF file
4044
uses: actions/upload-artifact@v4
4145
with:
42-
name: FormalLanguageConstrainedReachabilityLectureNotes_latest
46+
name: FormalLanguageConstrainedReachabilityLectureNotes_${{ steps.sha_short.outputs.sha_short }}
4347
path: tex/FormalLanguageConstrainedReachabilityLectureNotes.pdf

0 commit comments

Comments
 (0)