Skip to content

Commit

Permalink
Add python prefix for twine commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dormant-user authored Aug 26, 2024
1 parent 0b0f3dc commit 9dc6ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ runs:

- name: Run twine check
if: inputs.verify-metadata != 'false' || inputs.dry-run != 'false'
run: twine check ${{ inputs.packages-dir }}/*
run: python -m twine check ${{ inputs.packages-dir }}/*
shell: bash

- name: Get distribution hash
Expand Down Expand Up @@ -225,7 +225,7 @@ runs:
TWINE_USERNAME: ${{ env.user }}
TWINE_PASSWORD: ${{ env.token }}
TWINE_REPOSITORY_URL: ${{ env.repository_url }}
run: twine upload ${{ env.TWINE_EXTRA_ARGS }} ${{ inputs.packages-dir }}/*.whl
run: python -m twine upload ${{ env.TWINE_EXTRA_ARGS }} ${{ inputs.packages-dir }}/*.whl
shell: bash

- name: Cleanup
Expand Down

0 comments on commit 9dc6ad5

Please sign in to comment.