diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index b0535c6..36d79b8 100644 --- a/.github/workflows/gen_docs.yml +++ b/.github/workflows/gen_docs.yml @@ -33,11 +33,10 @@ jobs: - name: Generate Docs uses: GabrielBB/xvfb-action@v1.6 env: - OPENSCADPATH: ${{ github.workspace }}/../ + OPENSCADPATH: $(dirname ${{ github.workspace }} ) with: - run: openscad-docsgen -f + run: $(which openscad-docsgen) -f working-directory: $GITHUB_WORKSPACE - options: #optional - name: Upload Docs to Wiki uses: SwiftDocOrg/github-wiki-publish-action@v1 diff --git a/.github/workflows/gen_tutorials.yml b/.github/workflows/gen_tutorials.yml index aefa6f5..0a7c62f 100644 --- a/.github/workflows/gen_tutorials.yml +++ b/.github/workflows/gen_tutorials.yml @@ -37,17 +37,16 @@ jobs: - name: FooTest env: - OPENSCADPATH: ${{ github.workspace }}/../ + OPENSCADPATH: $(dirname ${{ github.workspace }} ) run: echo $OPENSCADPATH - name: Generate Tutorials uses: GabrielBB/xvfb-action@v1.6 env: - OPENSCADPATH: ${{ github.workspace }}/../ + OPENSCADPATH: $(dirname ${{ github.workspace }} ) with: - run: openscad-mdimggen -f + run: $(which openscad-mdimggen) -f working-directory: $GITHUB_WORKSPACE - options: #optional - name: Upload Tutorials to Wiki uses: SwiftDocOrg/github-wiki-publish-action@v1