-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump CI actions versions (#2806)
* chore: bump CI actions versions * so setup-ocaml@v3 breaks building on older ocaml versions * fix variable name
- Loading branch information
1 parent
54b4a47
commit 9ec35aa
Showing
3 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,17 +32,16 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version: 20 | ||
|
||
- name: Install esy | ||
run: npm install -g [email protected].3-beta.3 | ||
run: npm install -g [email protected].4 | ||
|
||
- name: Restore global cache (~/.esy/source) | ||
id: global-cache | ||
uses: actions/cache/restore@v3 | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ~/.esy/source | ||
key: esy-source-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }} | ||
|
@@ -53,7 +52,7 @@ jobs: | |
|
||
- name: Load dependencies cache | ||
id: deps-cache | ||
uses: actions/cache/restore@v3 | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: | | ||
${{ steps.print_esy_cache.outputs.ESY_CACHE }} | ||
|
@@ -91,15 +90,15 @@ jobs: | |
run: esy export-dependencies | ||
|
||
- name: Save global cache | ||
uses: actions/cache/save@v3 | ||
uses: actions/cache/save@v4 | ||
if: steps.global-cache.outputs.cache-hit != 'true' | ||
with: | ||
path: ~/.esy/source | ||
key: esy-source-${{ matrix.os }}-${{ matrix.ocaml-compiler }}-${{ hashFiles('esy.lock.json') }} | ||
|
||
- name: Save dependencies cache | ||
if: steps.deps-cache.outputs.cache-hit != 'true' | ||
uses: actions/cache/save@v3 | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: | | ||
${{ steps.print_esy_cache.outputs.ESY_CACHE }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters