From eff00e0e6349e9bd78ecca1634be18688b74752e Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Mon, 24 Jul 2023 13:35:06 +0100 Subject: [PATCH] Use ref_name in gh release download --- .github/workflows/pypi_upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index cbf2d41..57af64d 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Download release assets - run: gh release download ${{ inputs.release || github.ref }} -D dist -R ${{ github.repository }} + run: gh release download ${{ inputs.release || github.ref_name }} -D dist -R ${{ github.repository }} - name: Publish to TestPyPI if: github.event_name == 'release' || inputs.upload_to_test_pypi