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 897069a commit 0405eb8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
# environment: release
permissions:
id-token: write

steps:
- name: Checkout
Expand Down Expand Up @@ -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 0405eb8

Please sign in to comment.