Skip to content

Commit b9d454e

Browse files
committed
change the filename to add the version number
1 parent 9aef201 commit b9d454e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- run: ls -al ./
2121
- run: ls -al ../
2222
- run: pandoc --standalone --self-contained --embed-resources --from markdown --output=BancroftRobodogsNotebook.pdf README.md
23-
- run: pdflatex keywordsList.tex
23+
- run: pdflatex -jobname=keywordsList-${{ github.ref_name }}.pdf keywordsList.tex
2424
- run: ls -al .
2525
- name: release
2626
uses: actions/create-release@v1
@@ -48,6 +48,6 @@ jobs:
4848
GITHUB_TOKEN: ${{ github.token }}
4949
with:
5050
upload_url: ${{ steps.create_release.outputs.upload_url }}
51-
asset_path: keywordsList.pdf
52-
asset_name: keywordsList.pdf
51+
asset_path: keywordsList-${{ github.ref_name }}.pdf
52+
asset_name: keywordsList-${{ github.ref_name }}.pdf
5353
asset_content_type: application/binary

0 commit comments

Comments
 (0)