Skip to content

Commit

Permalink
make jobs conditional on environment
Browse files Browse the repository at this point in the history
kinda assumed github would magically match them, but clearly not
  • Loading branch information
masklinn committed Nov 23, 2024
1 parent 93efe11 commit 3c3e5bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:

publish-to-testpypi:
name: Publish to TestPyPI
if: inputs.environment == testpypy
needs:
- build
runs-on: ubuntu-latest
Expand All @@ -65,7 +66,7 @@ jobs:

publish-to-pypi:
name: publish
if: false
if: inputs.environment == pypy
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3c3e5bc

Please sign in to comment.