diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index 77d2b79..c8211d3 100644 --- a/.github/workflows/gen_docs.yml +++ b/.github/workflows/gen_docs.yml @@ -4,8 +4,6 @@ on: [workflow_dispatch] jobs: RegenerateDocs: runs-on: ubuntu-latest - env: - OPENSCADPATH: ${{ env.GITHUB_WORKSPACE }}/../ steps: - name: Checkout uses: actions/checkout@v2 @@ -33,7 +31,9 @@ jobs: sudo chmod +x /usr/local/bin/openscad - name: Generate Docs - uses: GabrielBB/xvfb-action@v1 + uses: GabrielBB/xvfb-action@v1.6 + env: + OPENSCADPATH: ${{ env.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 14cdcf2..1844733 100644 --- a/.github/workflows/gen_tutorials.yml +++ b/.github/workflows/gen_tutorials.yml @@ -4,8 +4,6 @@ on: [workflow_dispatch] jobs: RegenerateTutorials: runs-on: ubuntu-latest - env: - OPENSCADPATH: ${{ env.GITHUB_WORKSPACE }}/../ steps: - name: Checkout uses: actions/checkout@v2 @@ -38,10 +36,14 @@ jobs: ./scripts/check_for_tabs.sh - name: FooTest + env: + OPENSCADPATH: ${{ env.GITHUB_WORKSPACE }}/../ run: echo $OPENSCADPATH - name: Generate Tutorials - uses: GabrielBB/xvfb-action@v1 + uses: GabrielBB/xvfb-action@v1.6 + env: + OPENSCADPATH: ${{ env.GITHUB_WORKSPACE }}/../ with: run: openscad-mdimggen -f working-directory: $GITHUB_WORKSPACE