Skip to content

Commit

Permalink
Use short SHA in artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
WoWaster committed Oct 27, 2024
1 parent 772e021 commit 3c94e91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ jobs:
extra_system_packages: "font-liberation"
latexmk_shell_escape: true

- name: Get short SHA for commit
id: sha_short
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: FormalLanguageConstrainedReachabilityLectureNotes_latest
name: FormalLanguageConstrainedReachabilityLectureNotes_${{ steps.sha_short.outputs.sha_short }}
path: tex/FormalLanguageConstrainedReachabilityLectureNotes.pdf

0 comments on commit 3c94e91

Please sign in to comment.