From c2d3251a7a0b4b79d784ccfd533aaff3baf72e64 Mon Sep 17 00:00:00 2001 From: Andrew Grigorev Date: Thu, 5 Sep 2024 21:29:26 +0300 Subject: [PATCH] Update --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1620c62..cd541a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + - name: Install build + run: pip install build - name: Build distribution run: python -m build . - name: Upload artifacts @@ -48,9 +50,8 @@ jobs: shell: bash run: pytest --collect-only -q | grep ^test_ | while read testname; do pytest -q $testname; done pypi-publish-test: - name: Release on test.pypi.org + name: Release on Test PyPI needs: test - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest environment: name: Test PyPI @@ -65,7 +66,7 @@ jobs: with: repository-url: "https://test.pypi.org/legacy/" pypi-publish: - name: Upload release to PyPI + name: Release on PyPI needs: test if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest