Skip to content

Commit 8699e77

Browse files
authored
[CI] Use {upload,download}-artifact@v4 in MacOS (#1899)
Maybe this time it's more stable. The v3 version will be removed in November 2024 according to https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ ``` git grep --name-only -- -artifact@v3 | grep coq-macos | xargs sed -i 's/-artifact@v3/-artifact@v4/g' ```
1 parent 5066396 commit 8699e77

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/coq-macos.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -75,22 +75,22 @@ jobs:
7575
run: opam exec -- etc/ci/github-actions-make.sh -j2 only-test-amd64-files-lite SLOWEST_FIRST=1
7676

7777
- name: upload OCaml files
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
8080
name: ExtractionOCaml-${{ matrix.os.arch }}
8181
path: src/ExtractionOCaml
8282
- name: upload js_of_ocaml files
83-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
8484
with:
8585
name: ExtractionJsOfOCaml-${{ matrix.os.arch }}
8686
path: src/ExtractionJsOfOCaml
8787
- name: upload standalone files
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@v4
8989
with:
9090
name: standalone-macos-${{ matrix.os.arch }}
9191
path: dist/fiat_crypto
9292
- name: upload standalone js files
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
9595
name: standalone-html-macos-${{ matrix.os.arch }}
9696
path: fiat-html
@@ -105,7 +105,7 @@ jobs:
105105
- name: display per-line timing info
106106
run: etc/ci/github-actions-display-per-line-timing.sh
107107
# - name: upload timing and .vo info
108-
# uses: actions/upload-artifact@v3
108+
# uses: actions/upload-artifact@v4
109109
# with:
110110
# name: build-outputs-${{ matrix.os.arch }}
111111
# path: .
@@ -122,12 +122,12 @@ jobs:
122122
steps:
123123
- uses: actions/checkout@v4
124124
- name: Download standalone MacOS x86_64
125-
uses: actions/download-artifact@v3
125+
uses: actions/download-artifact@v4
126126
with:
127127
name: standalone-macos-x86_64
128128
path: dist-x86_64/
129129
- name: Download standalone MacOS arm64
130-
uses: actions/download-artifact@v3
130+
uses: actions/download-artifact@v4
131131
with:
132132
name: standalone-macos-arm64
133133
path: dist-arm64/
@@ -136,7 +136,7 @@ jobs:
136136
mkdir -p dist
137137
lipo -create -output dist/fiat_crypto dist-x86_64/fiat_crypto dist-arm64/fiat_crypto
138138
- name: upload universal binary
139-
uses: actions/upload-artifact@v3
139+
uses: actions/upload-artifact@v4
140140
with:
141141
name: standalone-macos
142142
path: dist/fiat_crypto
@@ -159,7 +159,7 @@ jobs:
159159
steps:
160160
- uses: actions/checkout@v4
161161
- name: Download standalone MacOS${{ matrix.arch }}
162-
uses: actions/download-artifact@v3
162+
uses: actions/download-artifact@v4
163163
with:
164164
name: standalone-macos${{ matrix.arch }}
165165
path: dist/
@@ -194,7 +194,7 @@ jobs:
194194
fetch-depth: 0 # Fetch all history for all tags and branches
195195
tags: true # Fetch all tags as well, `fetch-depth: 0` might be sufficient depending on Git version
196196
- name: Download standalone MacOS${{ matrix.arch }}
197-
uses: actions/download-artifact@v3
197+
uses: actions/download-artifact@v4
198198
with:
199199
name: standalone-macos${{ matrix.arch }}
200200
path: dist/

0 commit comments

Comments
 (0)