Skip to content

Commit

Permalink
Use ref_name in gh release download
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou committed Jul 24, 2023
1 parent f889feb commit eff00e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eff00e0

Please sign in to comment.