Skip to content

Commit

Permalink
Upgrade build.yml action versions
Browse files Browse the repository at this point in the history
And make `macos` case consistant.
  • Loading branch information
Timmmm authored and Alasdair committed Dec 17, 2024
1 parent 0771a4b commit 304b491
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ jobs:
strategy:
matrix:
version: [4.08.1, 5.2.1]
os: [ubuntu-latest, macOS-latest]
os: [ubuntu-latest, macos-latest]
exclude:
- os: macos-latest
version: 4.08.1

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

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: System dependencies (ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt install build-essential libgmp-dev z3 cvc4 opam
- name: System dependencies (macOS)
if: startsWith(matrix.os, 'macOS')
if: startsWith(matrix.os, 'macos')
run: |
brew install --force --overwrite gpatch gmp z3 pkgconf opam
- name: Restore cached opam
id: cache-opam-restore
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.opam
key: ${{ matrix.os }}-${{ matrix.version }}
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Save cached opam
if: steps.cache-opam-restore.outputs.cache-hit != 'true'
id: cache-opam-save
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ~/.opam
key: ${{ steps.cache-opam-restore.outputs.cache-primary-key }}
Expand Down

0 comments on commit 304b491

Please sign in to comment.