From b45fc125792456f26434be8cbb1f4f1979df2511 Mon Sep 17 00:00:00 2001 From: diversemix Date: Mon, 19 Aug 2024 18:10:28 +0100 Subject: [PATCH] Use a git token for uploading assets --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ba66a8d..58913e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,6 +48,8 @@ jobs: - name: Upload Wheel Asset uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: dist/gcf_data_mapper-${{ env.VERSION }}-py3-none-any.whl @@ -56,6 +58,8 @@ jobs: - name: Upload Source Distribution Asset uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: dist/gcf_data_mapper-${{ env.VERSION }}.tar.gz