Skip to content

Commit

Permalink
New manual build script
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan committed Mar 22, 2021
1 parent f79d1f3 commit 64ffdaf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/sphinx-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,25 @@ jobs:
sudo apt install python3-sphinx python3-numpy
sudo apt install texlive texlive-latex-extra
sudo apt install latexmk
- name: Build
- name: Build manual
run: |
cd doc
ls -alh
make latexpdf
ls -alh build/*
- name: Upload
- name: Upload manual
uses: actions/upload-artifact@v2
with:
name: manual
name: Manual as Published
path: /home/runner/work/nGauge/nGauge/doc/build/latex/nGauge.pdf

- name: Upload manual to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/nGauge/nGauge/doc/build/latex/nGauge.pdf
asset_name: nGaugeManual
tag: ${{ github.ref }}
overwrite: true
body: ""
6 changes: 3 additions & 3 deletions .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
sudo apt install python3-sphinx python3-numpy
sudo apt install texlive texlive-latex-extra
sudo apt install latexmk
- name: Build
- name: Build manual
run: |
cd doc
ls -alh
make latexpdf
ls -alh build/*
- name: Upload
- name: Upload Manual
uses: actions/upload-artifact@v2
with:
name: manual
name: Manual as Built
path: /home/runner/work/nGauge/nGauge/doc/build/latex/nGauge.pdf

0 comments on commit 64ffdaf

Please sign in to comment.