Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ei-grad committed Sep 5, 2024
1 parent e3f31f4 commit c2d3251
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c2d3251

Please sign in to comment.