Skip to content

Commit 5a57c83

Browse files
committed
Fix github actions
1 parent 71cfd68 commit 5a57c83

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/spack-ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ jobs:
5757
mepo status
5858
5959
- name: Update other branches
60-
if:
61-
"!contains('refs/heads/main,refs/heads/develop', github.ref)"
60+
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
6261
run: |
6362
mepo checkout-if-exists ${GITHUB_HEAD_REF}
6463
mepo status

.github/workflows/workflow.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ jobs:
6767
mepo status
6868
6969
- name: Update other branches
70-
if:
71-
"!contains('refs/heads/main,refs/heads/develop', github.ref)"
70+
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
7271
run: |
7372
mepo checkout-if-exists ${GITHUB_HEAD_REF}
7473
mepo status

0 commit comments

Comments
 (0)