Skip to content

Commit d943963

Browse files
committed
update upload artifact action version
1 parent 60e8427 commit d943963

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/bench.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
# change of the strategy may require changing the bootstrapping/run code
6363

6464
steps:
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v4
6666
with:
6767

6868
# By default, the `pull_request` event has a `GITHUB_SHA` env variable
@@ -101,14 +101,14 @@ jobs:
101101
tar -czf cabal.tar.gz *
102102
103103
- name: Upload workspace
104-
uses: actions/upload-artifact@v3
104+
uses: actions/upload-artifact@v4
105105
with:
106106
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
107107
retention-days: 1
108108
path: workspace.tar.gz
109109

110110
- name: Upload .cabal
111-
uses: actions/upload-artifact@v3
111+
uses: actions/upload-artifact@v4
112112
with:
113113
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
114114
retention-days: 1
@@ -134,13 +134,13 @@ jobs:
134134
enable-stack: false
135135

136136
- name: Download cabal home
137-
uses: actions/download-artifact@v3
137+
uses: actions/download-artifact@v4
138138
with:
139139
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
140140
path: .
141141

142142
- name: Download workspace
143-
uses: actions/download-artifact@v3
143+
uses: actions/download-artifact@v4
144144
with:
145145
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
146146
path: .
@@ -165,7 +165,7 @@ jobs:
165165
run: find bench-results -name "*.csv" -or -name "*.svg" -or -name "*.html" | xargs tar -czf benchmark-artifacts.tar.gz
166166

167167
- name: Archive benchmarking artifacts
168-
uses: actions/upload-artifact@v3
168+
uses: actions/upload-artifact@v4
169169
with:
170170
name: bench-results-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
171171
path: benchmark-artifacts.tar.gz
@@ -175,7 +175,7 @@ jobs:
175175
run: find bench-results -name "*.log" -or -name "*.hp" | xargs tar -czf benchmark-logs.tar.gz
176176

177177
- name: Archive benchmark logs
178-
uses: actions/upload-artifact@v3
178+
uses: actions/upload-artifact@v4
179179
with:
180180
name: bench-logs-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
181181
path: benchmark-logs.tar.gz

0 commit comments

Comments
 (0)