Adding checkdocs workflow.

This commit is contained in:
Revar Desmera 2020-06-19 16:51:28 -07:00
parent f2d26b6513
commit eecb539080
2 changed files with 20 additions and 5 deletions

View file

@ -9,9 +9,9 @@ on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
# This workflow contains a single job called "gendocs" # This workflow contains a single job called "gendocs"
gendocs: CheckDocs:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-16.04 runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
@ -19,6 +19,21 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
# Runs a single command using the runners shell - name: Wiki Checkout
run: |
cd $GITHUB_WORKSPACE
git clone https://github.com/revarbat/BOSL2.wiki.git
- name: Install OpenSCAD - name: Install OpenSCAD
run: sudo apt-get install openscad run: sudo snap install openscad
- name: Generate Index
run: |
cd $GITHUB_WORKSPACE
./scripts/make_all_docs -i
- name: Generating Docs
run: |
cd $GITHUB_WORKSPACE
./scripts/make_all_docs -i

View file

@ -8,7 +8,7 @@
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
BOSL_VERSION = [2,0,342]; BOSL_VERSION = [2,0,343];
// Section: BOSL Library Version Functions // Section: BOSL Library Version Functions