diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index f759fda..77d2b79 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: ${{ env.GITHUB_WORKSPACE }}/../ steps: - name: Checkout uses: actions/checkout@v2 @@ -29,7 +31,6 @@ jobs: wget https://files.openscad.org/OpenSCAD-2021.01-x86_64.AppImage sudo mv OpenSCAD-2021.01*-x86_64.AppImage /usr/local/bin/openscad sudo chmod +x /usr/local/bin/openscad - echo ::set-env name=OPENSCADPATH::$(dirname $GITHUB_WORKSPACE) - name: Generate Docs uses: GabrielBB/xvfb-action@v1 diff --git a/.github/workflows/gen_tutorials.yml b/.github/workflows/gen_tutorials.yml index d82879c..14cdcf2 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: ${{ env.GITHUB_WORKSPACE }}/../ steps: - name: Checkout uses: actions/checkout@v2 @@ -29,7 +31,6 @@ jobs: wget https://files.openscad.org/OpenSCAD-2021.01-x86_64.AppImage sudo mv OpenSCAD-2021.01*-x86_64.AppImage /usr/local/bin/openscad sudo chmod +x /usr/local/bin/openscad - echo ::set-env name=OPENSCADPATH::$(dirname $GITHUB_WORKSPACE) - name: Tabs Check run: |