Skip to content

Commit

Permalink
Merge pull request #728 from Arelle/twine-install
Browse files Browse the repository at this point in the history
Install and run twine in venv with pipx
  • Loading branch information
stevenbronson-wk authored Sep 4, 2024
2 parents 61afe83 + e888c9e commit 5ebaa4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ jobs:
runs-on: ubuntu-24.04
if: startsWith(github.ref, 'refs/tags')
steps:
- name: Install twine
run: pip install -U twine
- name: Download source distribution artifact
uses: actions/[email protected]
with:
Expand All @@ -95,7 +93,7 @@ jobs:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_REPOSITORY: ${{ github.repository == 'Arelle/ixbrl-viewer' && 'pypi' || 'testpypi' }}
run: twine upload ./*
run: pipx run twine upload ./*
- name: Upload release artifacts
uses: softprops/[email protected]
with:
Expand Down

0 comments on commit 5ebaa4a

Please sign in to comment.