99 schedule :
1010 - cron : ' 0 0 * * *' # Daily “At 00:00”
1111
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
1216jobs :
1317 test :
1418 name : (${{ matrix.os }})
@@ -20,15 +24,11 @@ jobs:
2024 strategy :
2125 fail-fast : false
2226 matrix :
23- os : [ "ubuntu-latest", "macos-latest "]
27+ os : [ "ubuntu-latest", "macos-13 "]
2428
2529 steps :
26- - uses : actions/checkout@v2
27-
28- - name : Cancel previous runs
29- 30- with :
31- access_token : ${{ github.token }}
30+ - name : Checkout
31+ uses : actions/checkout@v4
3232
3333 - name : Install tcsh and byacc (Linux)
3434 if : matrix.os == 'ubuntu-latest'
@@ -38,32 +38,24 @@ jobs:
3838 sudo apt-get install byacc
3939
4040 - name : Install dependencies (Darwin)
41- if : matrix.os == 'macos-latest '
41+ if : matrix.os == 'macos-13 '
4242 run : |
4343 brew update
4444 brew install --cask xquartz
4545
4646 - name : Create mamba environment (Darwin)
47- if : matrix.os == 'macos-latest'
48- env :
49- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
50- uses : mamba-org/provision-with-micromamba@main
47+ if : matrix.os == 'macos-13'
48+ uses : mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
5149 with :
52- micromamba-version : " latest"
53- environment-name : ncl_build
5450 environment-file : .build/envs/Darwin.yml
5551
5652 - name : Create mamba environment (Linux)
5753 if : matrix.os == 'ubuntu-latest'
58- env :
59- ACTIONS_ALLOW_UNSECURE_COMMANDS : ' true'
60- uses : mamba-org/provision-with-micromamba@main
54+ uses : mamba-org/setup-micromamba@0dea6379afdaffa5d528b3d1dabc45da37f443fc # v2.0.4
6155 with :
62- micromamba-version : " latest"
63- environment-name : ncl_build
6456 environment-file : .build/envs/Linux.yml
6557
66- - name : Build ncl
58+ - name : Build NCL
6759 run : |
6860 bash .build/mamba_build.sh
6961
0 commit comments