From a44ff235ab2c0019d8b6e825c77d968098e14a15 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Thu, 21 Jul 2022 20:34:12 -0700 Subject: [PATCH] Workflow testing. --- .github/workflows/gen_docs.yml | 4 ++-- .github/workflows/gen_tutorials.yml | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gen_docs.yml b/.github/workflows/gen_docs.yml index 8e0ef4a..78d1fe6 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: $(dirname $GITHUB_WORKSPACE) steps: - name: Checkout uses: actions/checkout@v2 @@ -32,8 +34,6 @@ jobs: - name: Generate Docs uses: GabrielBB/xvfb-action@v1 - env: - OPENSCADPATH: $(dirname $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 7e0c113..c915534 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: $(dirname $GITHUB_WORKSPACE) steps: - name: Checkout uses: actions/checkout@v2 @@ -35,10 +37,11 @@ jobs: cd $GITHUB_WORKSPACE ./scripts/check_for_tabs.sh + - name: FooTest + run: echo $OPENSCADPATH + - name: Generate Tutorials uses: GabrielBB/xvfb-action@v1 - env: - OPENSCADPATH: $(dirname $GITHUB_WORKSPACE) with: run: openscad-mdimggen -f working-directory: $GITHUB_WORKSPACE