Skip to content

Commit

Permalink
fix env syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Nov 15, 2023
1 parent 1c6bf7a commit dc9dd3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit dc9dd3b

Please sign in to comment.