Skip to content

Commit

Permalink
Update create-release.yml workflow: publish releases with a Trusted…
Browse files Browse the repository at this point in the history
… Publisher.
  • Loading branch information
fabiocaccamo committed Dec 18, 2023
1 parent 383ed09 commit e1c14a7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ on:
jobs:
build:
runs-on: ubuntu-latest
# environment: release
permissions:
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract release notes
id: extract-release-notes
Expand All @@ -38,5 +41,5 @@ jobs:
- name: Publish on PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: dist/
password: ${{ secrets.WORKFLOWS_PUBLISH_TO_PYPI_TOKEN }}
packages-dir: dist/
# password: ${{ secrets.WORKFLOWS_PUBLISH_TO_PYPI_TOKEN }}

0 comments on commit e1c14a7

Please sign in to comment.