Skip to content

Commit

Permalink
do not build package if not releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Jun 24, 2023
1 parent 2fe7f25 commit 1f3cc44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -24,12 +24,14 @@ jobs:
- uses: coverallsapp/github-action@v2
- run: echo ${{github.ref_name}} > VERSION
- name: Install pypa/build
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: >-
python3 -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: >-
python3 -m
build
Expand Down

0 comments on commit 1f3cc44

Please sign in to comment.