Skip to content

Commit e71eeca

Browse files
authored
Merge pull request #87 from Ericgig/cond.fix
Change conditions
2 parents 84335bd + fa5f53f commit e71eeca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ on:
1212
jobs:
1313
update_version:
1414
name: Update dev version
15-
if: github.ref == 'refs/heads/master'
1615
runs-on: ubuntu-latest
1716
steps:
1817
- name: checkout
1918
uses: actions/checkout@v4
2019
- name: Increment VERSION
20+
if: github.ref == 'refs/heads/master'
2121
run: |
2222
version="$(cat VERSION)"; python -c "b, n = '$version'.split('v'); print('v'.join([b, str(int(n)+1)]))" > VERSION
2323
- name: Add commit
24+
if: github.ref == 'refs/heads/master'
2425
run: |
2526
git config --global user.email "Version_Incrementer@gh_bot"
2627
git config --global user.name "Version Incrementer"
@@ -32,7 +33,6 @@ jobs:
3233
3334
build:
3435
name: Build qutip-jax
35-
if: ${{ always() }}
3636
needs: update_version
3737

3838
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)