Skip to content

Commit

Permalink
Relative path changes for new patched builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Songtech-0912 committed Jan 7, 2025
1 parent 16ff0f8 commit 47c1459
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,19 @@ jobs:
python ./book/patch.py
# build pdf (sphinx creates a makefile for us)
cd ./book/_build/latex/
echo "Entered LaTeX folder, preparing to build PDF"
make
# move built book out of build folder
mv elara-handbook.pdf ../../elara-handbook.pdf
- name: Show debug logs
run: |
- name: Show debug logs and return to repo root
# show debug logs
cat elara-handbook.log # debug
# move built book out of build folder
mv elara-handbook.pdf ../../elara-handbook.pdf
# go to repo root
cd ../../../

- name: Output build artifacts for debugging
run: |
# go back to root of repo
cd ../../../
# we use temp.sh, a temporary file host service
echo "PDF build log"
curl -F "file=@book/_build/latex/elara-handbook.log" https://temp.sh/upload
Expand Down

0 comments on commit 47c1459

Please sign in to comment.