Skip to content

Commit

Permalink
CI: Add environment: release to push to PYPI
Browse files Browse the repository at this point in the history
I didn't have trusted publishers configured properly
on the PyPI end, nor here I guess.
After this, I can rerun the CI job
manually
  • Loading branch information
NickCrews committed Aug 18, 2023
1 parent 9ff3258 commit 16f0f33
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
# See https://docs.pypi.org/trusted-publishers/using-a-publisher/
id-token: write
environment: release
steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -144,8 +145,7 @@ jobs:
contents: write
defaults:
run:
working-directory:
python
working-directory: python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down Expand Up @@ -173,8 +173,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory:
python
working-directory: python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down

0 comments on commit 16f0f33

Please sign in to comment.