Skip to content

Commit

Permalink
use trusted publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jan 10, 2024
1 parent da703f7 commit 9ea7222
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ jobs:
# files in the draft release.
environment: 'publish'
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
- uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
with:
repository_url: https://test.pypi.org/legacy/
packages_dir: artifact/
repository-url: https://test.pypi.org/legacy/
packages-dir: artifact/
- uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf
with:
packages_dir: artifact/
packages-dir: artifact/

0 comments on commit 9ea7222

Please sign in to comment.