Skip to content

Commit

Permalink
ci: enhance release files name
Browse files Browse the repository at this point in the history
  • Loading branch information
StableAgOH committed Aug 23, 2022
1 parent 47b1412 commit 7b3a342
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
root_file: problem.tex
working_directory: problem
latexmk_use_xelatex: true
args: -jobname=${{ github.event.repository.name }}-problem

- name: Build solution.tex
uses: xu-cheng/latex-action@v2
with:
root_file: solution.tex
working_directory: solution
latexmk_use_xelatex: true
args: -jobname=${{ github.event.repository.name }}-solution

- name: Release Package
uses: marvinpinto/action-automatic-releases@latest
Expand All @@ -30,5 +32,5 @@ jobs:
automatic_release_tag: latest
prerelease: false
files: |
problem/problem.pdf
solution/solution.pdf
problem/${{ github.event.repository.name }}-problem.pdf
solution/${{ github.event.repository.name }}-solution.pdf

0 comments on commit 7b3a342

Please sign in to comment.