Skip to content

Commit 4aa1f2a

Browse files
authored
Update github actions versions (#19)
* actions/cache to v4 * actions/checkout to v4 * actions/setup-python to v5 * esmf example version to v8.6.0 * update mac os compiler to gcc-12
1 parent bcb0f12 commit 4aa1f2a

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.github/workflows/acceptance-test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
cache: false
4343
}
4444
- {
45-
name: "MacOS (v8.5.0, cache, netcdf)",
45+
name: "MacOS (v8.6.0, cache, netcdf)",
4646
os: macos-latest,
47-
version: v8.5.0,
47+
version: v8.6.0,
4848
compiler: gfortran,
4949
comm: mpiuni,
5050
esmx: false,
@@ -55,7 +55,7 @@ jobs:
5555
}
5656
steps:
5757
- name: Checkout Repository
58-
uses: actions/checkout@v3
58+
uses: actions/checkout@v4
5959
- name: Package Install (Linux)
6060
if: runner.os == 'Linux' && matrix.config.netcdf == 'nc-config'
6161
run: |
@@ -64,13 +64,13 @@ jobs:
6464
- name: Package Install (macOS)
6565
if: runner.os == 'macOS' && matrix.config.netcdf == 'nc-config'
6666
run: |
67-
ln -fs `which gcc-11` /usr/local/bin/gcc
68-
ln -fs `which g++-11` /usr/local/bin/g++
69-
ln -fs `which gfortran-11` /usr/local/bin/gfortran
67+
ln -fs `which gcc-12` /usr/local/bin/gcc
68+
ln -fs `which g++-12` /usr/local/bin/g++
69+
ln -fs `which gfortran-12` /usr/local/bin/gfortran
7070
brew install netcdf netcdf-fortran
7171
- name: Setup Python
7272
if: matrix.config.esmpy
73-
uses: actions/setup-python@v4
73+
uses: actions/setup-python@v5
7474
with:
7575
python-version: '3.x'
7676
- name: Install ESMF

.github/workflows/adv-example-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Library Directory
1616
run: |
1717
export STACK_ROOT=${HOME}/stack
@@ -24,7 +24,7 @@ jobs:
2424
echo "${STACK_ROOT}/bin" >> $GITHUB_PATH
2525
- name: Cache Libraries
2626
id: cache-libraries
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ${{env.STACK_ROOT}}
3030
key: ubuntu-gfortran-openmpi@4.0.3-netcdf@4.9.0

.github/workflows/example-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Package Install
1616
run: |
1717
sudo apt-get -qq -y update

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
example-test:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Package Install
2323
run: |
2424
sudo apt-get -qq -y update
@@ -110,7 +110,7 @@ must be called prior to executing `install-esmf-action`.
110110

111111
```yaml
112112
- name: Setup Python
113-
uses: actions/setup-python@v4
113+
uses: actions/setup-python@v5
114114
with:
115115
python-version: '3.x'
116116
```
@@ -153,7 +153,7 @@ Here's an example workflow step with configuration options:
153153
ESMF_NETCDF: nc-config
154154
ESMF_INSTALL_PREFIX: $HOME/software-stack
155155
with:
156-
version: v8.5.0
156+
version: v8.6.0
157157
esmpy: true
158158
cache: true
159159
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ runs:
8282
fi
8383
- id: cache-esmf
8484
if: inputs.cache == 'true'
85-
uses: actions/cache@v3
85+
uses: actions/cache@v4
8686
with:
8787
path: ${{env.ESMF_ROOT}}
8888
key: esmf@${{env.ESMF_VERSION}}-${{hashFiles('.esmf-cache.txt')}}

advanced-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
build-test:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- name: Library Directory
2323
run: |
2424
export STACK_ROOT=${HOME}/stack
@@ -31,7 +31,7 @@ jobs:
3131
echo "${STACK_ROOT}/bin" >> $GITHUB_PATH
3232
- name: Cache Libraries
3333
id: cache-libraries
34-
uses: actions/cache@v3
34+
uses: actions/cache@v4
3535
with:
3636
path: ${{env.STACK_ROOT}}
3737
key: ubuntu-gfortran-openmpi@4.0.3-netcdf@4.9.0

0 commit comments

Comments
 (0)