Skip to content

Commit

Permalink
CI: Switch PyPI release to use "trusted publishing"
Browse files Browse the repository at this point in the history
  • Loading branch information
dopplershift committed Apr 24, 2023
1 parent de45e71 commit b074fdc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
environment:
name: PyPI
url: https://pypi.org/project/cartopy
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
runs-on: ubuntu-18.04

steps:
Expand All @@ -59,6 +61,3 @@ jobs:
- name: Publish Package
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_token }}

0 comments on commit b074fdc

Please sign in to comment.