Skip to content

Commit

Permalink
use trusted publishing (#437)
Browse files Browse the repository at this point in the history
* use trusted publishing

* add back the verbose setting
  • Loading branch information
keewis authored May 5, 2023
1 parent ae99250 commit 0f4bd99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ jobs:
needs: test-built-dist
if: github.event_name == 'release'
runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/cf-xarray
permissions:
id-token: write

steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -91,5 +98,4 @@ jobs:
- name: Publish package to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_PASSWORD }}
verbose: true

0 comments on commit 0f4bd99

Please sign in to comment.