Skip to content

Commit 94059dd

Browse files
committed
Why isn't this working??
1 parent 6d087e7 commit 94059dd

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

.github/workflows/spack-ci.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,25 @@ name: Spack CI GCC Build
33
on:
44
pull_request:
55
types: [opened, synchronize, reopened]
6+
# Do not run if the only files changed cannot affect the build
7+
paths-ignore:
8+
- "**.md"
9+
- "**.pro"
10+
- "**.sh"
11+
- "**.perl"
12+
- ".github/CODEOWNERS"
613
workflow_dispatch:
714

815
concurrency:
916
group: ${{ github.workflow }}-${{ github.ref }}
10-
cancel-in-progress: true
17+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1118

1219
jobs:
13-
build:
14-
runs-on: ubuntu-24.04
20+
build_gcm:
21+
runs-on: ubuntu-latest
1522
steps:
1623

17-
- name: Checkout repository
24+
- name: Checkout GCM
1825
uses: actions/checkout@v4
1926
with:
2027
fetch-depth: 1
@@ -31,14 +38,15 @@ jobs:
3138
python -m pip install --upgrade pip
3239
pip install mepo
3340
34-
- name: Mepo clone
41+
- name: Mepo clone external repos
3542
run: |
43+
ls
3644
mepo clone
3745
mepo status
3846
mepo develop GEOSgcm_GridComp GEOSgcm_App GMAO_Shared GEOS_Util
3947
mepo status
4048
41-
- name: Update GEOSgcm_GridComp branch
49+
- name: Update other branches
4250
if:
4351
"!contains('refs/heads/main,refs/heads/develop', github.ref)"
4452
run: |

0 commit comments

Comments
 (0)