diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index 8e0ef4a..78d1fe6 100644 --- a/.github/workflows/gen_docs.yml +++ b/.github/workflows/gen_docs.yml @@ -4,6 +4,8 @@ on: [workflow_dispatch] jobs: RegenerateDocs: runs-on: ubuntu-latest + env: + OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) steps: - name: Checkout uses: actions/checkout@v2 @@ -32,8 +34,6 @@ jobs: - name: Generate Docs uses: GabrielBB/xvfb-action@v1 - env: - OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) with: run: openscad-docsgen -f working-directory: $GITHUB_WORKSPACE diff --git a/.github/workflows/gen_tutorials.yml b/.github/workflows/gen_tutorials.yml index 7e0c113..c915534 100644 --- a/.github/workflows/gen_tutorials.yml +++ b/.github/workflows/gen_tutorials.yml @@ -4,6 +4,8 @@ on: [workflow_dispatch] jobs: RegenerateTutorials: runs-on: ubuntu-latest + env: + OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) steps: - name: Checkout uses: actions/checkout@v2 @@ -35,10 +37,11 @@ jobs: cd $GITHUB_WORKSPACE ./scripts/check_for_tabs.sh + - name: FooTest + run: echo $OPENSCADPATH + - name: Generate Tutorials uses: GabrielBB/xvfb-action@v1 - env: - OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) with: run: openscad-mdimggen -f working-directory: $GITHUB_WORKSPACE