Skip to content

Commit 6a5057a

Browse files
committed
Publish artifact at every build
Signed-off-by: Alban Dericbourg <[email protected]>
1 parent 207496c commit 6a5057a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ jobs:
1414
with:
1515
root_file: tex/document.tex
1616
args: -pdf -file-line-error -halt-on-error -interaction=nonstopmode
17-
17+
- name: Set current date as env variable
18+
run: echo "NOW=$(date +'%Y%m%d-%H%M%S.%N')" >> $GITHUB_ENV
19+
- name: Upload Artifact
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: TheCore-fr-${{ env.NOW }}.pdf
23+
path: document.pdf

0 commit comments

Comments
 (0)