From 527dcfa006ddd55ff3deb1f184200df7b0bc58d1 Mon Sep 17 00:00:00 2001 From: Marcus G K Williams <168222+mgkwill@users.noreply.github.com> Date: Tue, 14 Nov 2023 19:04:56 -0800 Subject: [PATCH] Further fix to pypi upload in cd.yml Set contents to write in publish release --- .github/workflows/cd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 747e0beaf..ab7a27111 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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: @@ -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 }}'