From cedb393ef303add05291b743c217abf27dcd4bba Mon Sep 17 00:00:00 2001 From: MIWdlB Date: Fri, 17 May 2024 16:23:05 +0100 Subject: [PATCH] add publish to release --- .github/workflows/release.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 81468d7..24e46e3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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}} \ No newline at end of file