Skip to content

Commit

Permalink
fix: improve GitHub Actions release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Dec 14, 2024
1 parent f4483fb commit d0fc452
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -28,4 +31,4 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python -m twine upload dist/*
python -m twine upload --verbose dist/*

0 comments on commit d0fc452

Please sign in to comment.