From 7101ab2008fc059c0fc9d70cf067bd1668beb87e Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Thu, 21 Jul 2022 20:11:04 -0700 Subject: [PATCH] Another docs/tutorial gen workflow fix attempt. --- .github/workflows/gen_docs.yml | 4 +++- .github/workflows/gen_tutorials.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index 1852006..8e0ef4a 100644 --- a/.github/workflows/gen_docs.yml +++ b/.github/workflows/gen_docs.yml @@ -32,8 +32,10 @@ jobs: - name: Generate Docs uses: GabrielBB/xvfb-action@v1 + env: + OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) with: - run: export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad-docsgen -f + run: openscad-docsgen -f working-directory: $GITHUB_WORKSPACE options: #optional diff --git a/.github/workflows/gen_tutorials.yml b/.github/workflows/gen_tutorials.yml index 3ceb4cc..7e0c113 100644 --- a/.github/workflows/gen_tutorials.yml +++ b/.github/workflows/gen_tutorials.yml @@ -37,8 +37,10 @@ jobs: - name: Generate Tutorials uses: GabrielBB/xvfb-action@v1 + env: + OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) with: - run: export OPENSCADPATH=$(dirname $GITHUB_WORKSPACE) openscad-mdimggen -f + run: openscad-mdimggen -f working-directory: $GITHUB_WORKSPACE options: #optional