Skip to content

Commit

Permalink
Further fix to pypi upload in cd.yml
Browse files Browse the repository at this point in the history
Set contents to write in publish release
  • Loading branch information
mgkwill authored and Marcus G K Williams committed Nov 15, 2023
1 parent 5e2fa3d commit 527dcfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ jobs:
outputs:
api-token: ${{ steps.mint-token.outputs.api-token}}
permissions:
contents: write
id-token: write
id-token: write
contents: write
needs: [build-artifacts, test-artifact-install, test-artifact-use]

steps:
Expand Down Expand Up @@ -206,4 +206,5 @@ jobs:
run: |
mkdir dist
cp lava* dist/.
echo "::add-mask::${{ steps.mint-token.outputs.api-token }}"
poetry publish -u __token__ -p '${{ steps.mint-token.outputs.api-token }}'

0 comments on commit 527dcfa

Please sign in to comment.