Skip to content

Commit

Permalink
Use relative paths for specifying PDF build artifacts
Browse files Browse the repository at this point in the history
- Previously, the paths for the built PDFs did not have a "./"
  prefix and thus were vague
- So now we explicitly use relative paths to prevent github actions
  from trying to find a file/folder where one does not exist
  • Loading branch information
Songtech-0912 committed Dec 30, 2024
1 parent cf6dede commit 3dfebc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
# Build actual book
jupyter-book build book --builder pdflatex
echo $(pwd)
ls -R $(pwd)
mv book/_build/latex/elara-handbook.pdf _build/elara-handbook.pdf
# ls -R $(pwd)
mv ./book/_build/latex/elara-handbook.pdf ./book/elara-handbook.pdf
- name: Upload book PDF to Github releases
env:
Expand All @@ -71,4 +71,4 @@ jobs:
--tag_name v0.0.0-$(git rev-parse HEAD | cut -c 1-8) \
--prerelease \
--body_string "Automatically generated from book sources via Github Actions" \
_build/elara-handbook.pdf
./book/elara-handbook.pdf

0 comments on commit 3dfebc6

Please sign in to comment.