From dc9dd3b225be92411760e251b953b66a7e347d87 Mon Sep 17 00:00:00 2001 From: Lehman Garrison Date: Wed, 15 Nov 2023 16:59:20 -0500 Subject: [PATCH] fix env syntax --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77a6522..210ef46 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ env: jobs: build: - if: env.PUBLISH + if: ${{ env.PUBLISH }} name: build runs-on: ubuntu-latest @@ -69,14 +69,14 @@ jobs: make -C pipe_asdf - name: Fetch wheel - if: env.PUBLISH + if: ${{ env.PUBLISH }} uses: actions/download-artifact@v3 with: name: artifact path: dist - name: Install package from wheel - if: env.PUBLISH + if: ${{ env.PUBLISH }} run: | pip install $(ls dist/*.whl)[test] @@ -91,7 +91,7 @@ jobs: ./tests/test_pipe_asdf.sh upload: - if: env.PUBLISH + if: ${{ env.PUBLISH }} needs: [build, tests] environment: pypi permissions: