Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Commit 3e22df4

Browse files
Update test_and_merge.yml
1 parent f5a004f commit 3e22df4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test_and_merge.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,24 @@ jobs:
5555
env:
5656
PR_URL: ${{github.event.pull_request.html_url}}
5757
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
58+
59+
60+
release:
61+
runs-on: ubuntu-latest
62+
if: "startsWith(github.ref, 'refs/tags/')"
63+
needs: [test]
64+
steps:
65+
- uses: actions/checkout@v4
66+
- name: Install Poetry
67+
uses: snok/install-poetry@v1
68+
with:
69+
virtualenvs-create: true
70+
virtualenvs-in-project: true
71+
- name: Install python dependencies
72+
run: |
73+
poetry install --sync --no-interaction --no-root --with test
74+
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
75+
76+
- name: Publish
77+
run: |
78+
poetry publish --build

0 commit comments

Comments
 (0)