Skip to content

Commit 304b491

Browse files
Tim HuttAlasdair
authored andcommitted
Upgrade build.yml action versions
And make `macos` case consistant.
1 parent 0771a4b commit 304b491

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,29 @@ jobs:
1010
strategy:
1111
matrix:
1212
version: [4.08.1, 5.2.1]
13-
os: [ubuntu-latest, macOS-latest]
13+
os: [ubuntu-latest, macos-latest]
1414
exclude:
1515
- os: macos-latest
1616
version: 4.08.1
1717

1818
runs-on: ${{ matrix.os }}
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222

2323
- name: System dependencies (ubuntu)
2424
if: startsWith(matrix.os, 'ubuntu')
2525
run: |
2626
sudo apt install build-essential libgmp-dev z3 cvc4 opam
2727
2828
- name: System dependencies (macOS)
29-
if: startsWith(matrix.os, 'macOS')
29+
if: startsWith(matrix.os, 'macos')
3030
run: |
3131
brew install --force --overwrite gpatch gmp z3 pkgconf opam
3232
3333
- name: Restore cached opam
3434
id: cache-opam-restore
35-
uses: actions/cache/restore@v3
35+
uses: actions/cache/restore@v4
3636
with:
3737
path: ~/.opam
3838
key: ${{ matrix.os }}-${{ matrix.version }}
@@ -45,7 +45,7 @@ jobs:
4545
- name: Save cached opam
4646
if: steps.cache-opam-restore.outputs.cache-hit != 'true'
4747
id: cache-opam-save
48-
uses: actions/cache/save@v3
48+
uses: actions/cache/save@v4
4949
with:
5050
path: ~/.opam
5151
key: ${{ steps.cache-opam-restore.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)