Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Jan 31, 2024
1 parent 98c115c commit cf43e7b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,6 @@ jobs:
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Setup Python environment
uses: ./.github/actions/setup-venv
with:
Expand All @@ -191,10 +186,12 @@ jobs:

- name: Generate release notes
run: |
. .venv/bin/activate
python scripts/release_notes.py > ${{ github.workspace }}-RELEASE_NOTES.md
- name: Publish package to PyPI
run: |
. .venv/bin/activate
twine upload -u __token__ -p '${{ secrets.PYPI_PASSWORD }}' dist/*
- name: Publish GitHub release
Expand Down

0 comments on commit cf43e7b

Please sign in to comment.