Skip to content

Commit 527dcfa

Browse files
mgkwillMarcus G K Williams
authored and
Marcus G K Williams
committed
Further fix to pypi upload in cd.yml
Set contents to write in publish release
1 parent 5e2fa3d commit 527dcfa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ jobs:
137137
outputs:
138138
api-token: ${{ steps.mint-token.outputs.api-token}}
139139
permissions:
140-
contents: write
141-
id-token: write
140+
id-token: write
141+
contents: write
142142
needs: [build-artifacts, test-artifact-install, test-artifact-use]
143143

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

0 commit comments

Comments
 (0)