Skip to content

Commit a22b330

Browse files
SamChou19815facebook-github-bot
authored andcommitted
[ci] Use actions/cache@v4 (#9256)
Summary: The current version is deprecated and causes all CI jobs to fail: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down Pull Request resolved: #9256 Reviewed By: SamChou19815 Differential Revision: D69800853 fbshipit-source-id: e9315a59a2f022853253ee997e805a85134f7675
1 parent facfef4 commit a22b330

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build_and_test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
3030
shell: bash
3131
- name: opam cache
32-
uses: actions/cache@v3.3.2
32+
uses: actions/cache@v4
3333
with:
3434
path: |-
3535
~/.opam
@@ -80,7 +80,7 @@ jobs:
8080
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
8181
shell: bash
8282
- name: opam cache
83-
uses: actions/cache@v3.3.2
83+
uses: actions/cache@v4
8484
with:
8585
path: |-
8686
~/.opam
@@ -132,7 +132,7 @@ jobs:
132132
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
133133
shell: bash
134134
- name: opam cache
135-
uses: actions/cache@v3.3.2
135+
uses: actions/cache@v4
136136
with:
137137
path: |-
138138
~/.opam
@@ -174,7 +174,7 @@ jobs:
174174
run: arch --x86_64 .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
175175
shell: bash
176176
- name: opam cache
177-
uses: actions/cache@v3.3.2
177+
uses: actions/cache@v4
178178
with:
179179
path: |-
180180
~/.opam
@@ -221,7 +221,7 @@ jobs:
221221
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
222222
shell: bash
223223
- name: opam cache
224-
uses: actions/cache@v3.3.2
224+
uses: actions/cache@v4
225225
with:
226226
path: |-
227227
~/.opam
@@ -289,7 +289,7 @@ jobs:
289289
run: .\scripts\windows\install_opam.ps1
290290
shell: pwsh
291291
- name: Cache
292-
uses: actions/cache@v3.3.2
292+
uses: actions/cache@v4
293293
with:
294294
key: opam-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('flowtype.opam', 'flow_parser.opam', '.circleci/config.yml') }}
295295
path: |
@@ -456,7 +456,7 @@ jobs:
456456
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
457457
shell: bash
458458
- name: opam cache
459-
uses: actions/cache@v3.3.2
459+
uses: actions/cache@v4
460460
with:
461461
path: |-
462462
~/.opam
@@ -487,7 +487,7 @@ jobs:
487487
run: .circleci/make_opam_cachebreaker.sh > .circleci/opamcachebreaker
488488
shell: bash
489489
- name: opam cache
490-
uses: actions/cache@v3.3.2
490+
uses: actions/cache@v4
491491
with:
492492
path: |-
493493
~/.opam
@@ -615,7 +615,7 @@ jobs:
615615
path: dist
616616
- run: chmod +x bin/linux/flow
617617
- name: Node cache
618-
uses: actions/cache@v3.3.2
618+
uses: actions/cache@v4
619619
with:
620620
key: v2-website-${{ github.ref_name }}-${{ hashFiles('website/yarn.lock') }}
621621
path: website/node_modules

0 commit comments

Comments
 (0)