Skip to content

Commit

Permalink
fix: remove permission from inside steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mdtanker committed Nov 23, 2023
1 parent 9773658 commit 42cadef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
# Upload to Test PyPI.
- id: release-test-pypi
name: Publish in-dev package to test.pypi.org
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
# permissions:
# id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: steps.release.outputs.released == 'true'
with:
repository-url: https://test.pypi.org/legacy/
Expand All @@ -54,8 +54,8 @@ jobs:
# environment:
# name: pypi
# url: https://pypi.org/p/invert4geom
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
# permissions:
# id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
if: steps.release.outputs.released == 'true'
uses: pypa/gh-action-pypi-publish@release/v1

Expand Down

0 comments on commit 42cadef

Please sign in to comment.