mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Rework workflows with xvfb.
This commit is contained in:
parent
6d84f05590
commit
7b36b2ad48
3 changed files with 31 additions and 18 deletions
11
.github/workflows/docsgen.yml
vendored
11
.github/workflows/docsgen.yml
vendored
|
@ -34,13 +34,18 @@ jobs:
|
|||
sudo mv OpenSCAD-2021.01*-x86_64.AppImage /usr/local/bin/openscad
|
||||
sudo chmod +x /usr/local/bin/openscad
|
||||
|
||||
- name: Generating Docs
|
||||
- name: Generating Docs Headless
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
with:
|
||||
working-directory: $GITHUB_WORKSPACE
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||
echo "::add-matcher::.github/openscad_docsgen.json"
|
||||
openscad-docsgen -ticmI *.scad
|
||||
cd BOSL2.wiki
|
||||
|
||||
- name: Commit Wiki Docs
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/BOSL2.wiki
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add --all
|
||||
|
|
11
.github/workflows/forced_docsgen.yml
vendored
11
.github/workflows/forced_docsgen.yml
vendored
|
@ -32,13 +32,18 @@ jobs:
|
|||
sudo mv OpenSCAD-2021.01*-x86_64.AppImage /usr/local/bin/openscad
|
||||
sudo chmod +x /usr/local/bin/openscad
|
||||
|
||||
- name: Generating Docs
|
||||
- name: Generating Docs Headless
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
with:
|
||||
working-directory: $GITHUB_WORKSPACE
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||
echo "::add-matcher::.github/openscad_docsgen.json"
|
||||
openscad-docsgen -ticmIf *.scad
|
||||
cd BOSL2.wiki
|
||||
|
||||
- name: Commit Wiki Docs
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE/BOSL2.wiki
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add --all
|
||||
|
|
3
.github/workflows/testwf.yml
vendored
3
.github/workflows/testwf.yml
vendored
|
@ -33,6 +33,9 @@ jobs:
|
|||
sudo chmod +x /usr/local/bin/openscad
|
||||
|
||||
- name: TestScript
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
with:
|
||||
working-directory: $GITHUB_WORKSPACE
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE)
|
||||
|
|
Loading…
Reference in a new issue