Skip to content

Commit

Permalink
Update github actions versions
Browse files Browse the repository at this point in the history
* actions/cache to v4
* actions/checkout to v4
* actions/setup-python to v5
* esmf example version to v8.6.0
  • Loading branch information
danrosen25 committed Aug 29, 2024
1 parent bcb0f12 commit 85fdf38
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
cache: false
}
- {
name: "MacOS (v8.5.0, cache, netcdf)",
name: "MacOS (v8.6.0, cache, netcdf)",
os: macos-latest,
version: v8.5.0,
version: v8.6.0,
compiler: gfortran,
comm: mpiuni,
esmx: false,
Expand All @@ -55,7 +55,7 @@ jobs:
}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Package Install (Linux)
if: runner.os == 'Linux' && matrix.config.netcdf == 'nc-config'
run: |
Expand All @@ -70,7 +70,7 @@ jobs:
brew install netcdf netcdf-fortran
- name: Setup Python
if: matrix.config.esmpy
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install ESMF
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/adv-example-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Library Directory
run: |
export STACK_ROOT=${HOME}/stack
Expand All @@ -24,7 +24,7 @@ jobs:
echo "${STACK_ROOT}/bin" >> $GITHUB_PATH
- name: Cache Libraries
id: cache-libraries
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.STACK_ROOT}}
key: [email protected]@4.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/example-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Package Install
run: |
sudo apt-get -qq -y update
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
example-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Package Install
run: |
sudo apt-get -qq -y update
Expand Down Expand Up @@ -110,7 +110,7 @@ must be called prior to executing `install-esmf-action`.

```yaml
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
```
Expand Down Expand Up @@ -153,7 +153,7 @@ Here's an example workflow step with configuration options:
ESMF_NETCDF: nc-config
ESMF_INSTALL_PREFIX: $HOME/software-stack
with:
version: v8.5.0
version: v8.6.0
esmpy: true
cache: true
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ runs:
fi
- id: cache-esmf
if: inputs.cache == 'true'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.ESMF_ROOT}}
key: esmf@${{env.ESMF_VERSION}}-${{hashFiles('.esmf-cache.txt')}}
Expand Down
4 changes: 2 additions & 2 deletions advanced-example.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Library Directory
run: |
export STACK_ROOT=${HOME}/stack
Expand All @@ -31,7 +31,7 @@ jobs:
echo "${STACK_ROOT}/bin" >> $GITHUB_PATH
- name: Cache Libraries
id: cache-libraries
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{env.STACK_ROOT}}
key: [email protected]@4.9.0
Expand Down

0 comments on commit 85fdf38

Please sign in to comment.