Skip to content

Commit

Permalink
add publish to release
Browse files Browse the repository at this point in the history
  • Loading branch information
MIWdlB committed May 17, 2024
1 parent 1ceee66 commit cedb393
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,18 @@ jobs:
- name: Testing
run: |
poetry run pytest
publish:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install poetry
run: |
pip install poetry
- name: Build and publish
run: |
poetry build
poetry publish --build -u ${{secrets.PYPI_USERNAME}} -p ${{secrets.PYPI_PASSWORD}}

0 comments on commit cedb393

Please sign in to comment.