From 1da2add34faac996af913af3ee82f1c95e1bce8c Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Thu, 21 Jul 2022 21:08:13 -0700 Subject: [PATCH] Workflow testing 9. --- .github/workflows/gen_docs.yml | 5 ++--- .github/workflows/gen_tutorials.yml | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) 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