Skip to content

Commit

Permalink
ci: added needs flags to release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Szyszkowski committed Aug 13, 2024
1 parent 271abbf commit 3b84cdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ env:
jobs:
build:
runs-on: ubuntu-latest
environment: PyPI
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -37,6 +36,7 @@ jobs:
path: dist/

test-release:
needs: build
runs-on: ubuntu-latest
environment: TEST
permissions:
Expand All @@ -54,6 +54,7 @@ jobs:
packages-dir: dist/

release:
needs: test-release
runs-on: ubuntu-latest
environment: PyPI
permissions:
Expand Down

0 comments on commit 3b84cdd

Please sign in to comment.