Skip to content

Commit

Permalink
Update generate-pdf-from-latex.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 authored Nov 27, 2023
1 parent d5deccd commit 68e227b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/generate-pdf-from-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
- name: Compile LaTeX to PDF
uses: xu-cheng/latex-action@v2
with:
root_file: documentation/documentation.tex
working_directory: freephoenix888
root_file: documentation.tex
working_directory: freephoenix888/documentation

- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: generated-pdf
path: ./freephoenix888/documentation.pdf
path: ./freephoenix888/documentation/documentation.pdf

- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: ./freephoenix888/documentation.pdf
files: ./freephoenix888/documentation/documentation.pdf
tag_name: v${{ github.run_number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 68e227b

Please sign in to comment.