1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 14:54:22 +00:00

🔨 Fix build paths

This commit is contained in:
Steffo 2021-11-21 05:38:31 +01:00
parent d7c4eff546
commit 933aa48699
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 8 additions and 8 deletions

View file

@ -32,13 +32,13 @@ jobs:
run: | run: |
source $pythonLocation/activate source $pythonLocation/activate
make html make html
- name: "Create a gzip of the build" - name: "Create a gzipped tarball of the build"
run: "tar -cvzf report/_build/report.html.tar.gz report/_build/html" run: tar -cvzf report/build/report.html.tar.gz report/build/html
- name: "Upload build artifact" - name: "Upload build artifact"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: "report.html.tar.gz" name: "report.html.tar.gz"
path: "report/_build/report.html.tar.gz" path: "report/build/report.html.tar.gz"
latexpdf: latexpdf:
name: "Build PDF document" name: "Build PDF document"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -72,4 +72,4 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: "report.pdf" name: "report.pdf"
path: "report/_build/latex/sophon.pdf" path: "report/build/latex/sophon.pdf"

View file

@ -32,13 +32,13 @@ jobs:
run: | run: |
source $pythonLocation/activate source $pythonLocation/activate
make html make html
- name: "Create a gzip of the build" - name: "Create a gzipped tarball of the build"
run: "tar -cvzf thesis/_build/thesis.html.tar.gz thesis/_build/html" run: tar -cvzf report/build/report.html.tar.gz report/build/html
- name: "Upload build artifact" - name: "Upload build artifact"
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: "thesis.html.tar.gz" name: "thesis.html.tar.gz"
path: "thesis/_build/thesis.html.tar.gz" path: "thesis/build/thesis.html.tar.gz"
latexpdf: latexpdf:
name: "Build PDF document" name: "Build PDF document"
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -72,4 +72,4 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: "thesis.pdf" name: "thesis.pdf"
path: "thesis/_build/latex/sophon.pdf" path: "thesis/build/latex/sophon.pdf"