Skip to content

Commit 4489b85

Browse files
committed
CI - fix artifact names for uniqueness
1 parent 278cedd commit 4489b85

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/bench.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ jobs:
8585
- name: Upload workspace
8686
uses: actions/upload-artifact@v3
8787
with:
88-
name: workspace
88+
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
8989
retention-days: 1
9090
path: workspace.tar.gz
9191

9292
- name: Upload .cabal
9393
uses: actions/upload-artifact@v3
9494
with:
95-
name: cabal-home
95+
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
9696
retention-days: 1
9797
path: ~/.cabal/cabal.tar.gz
9898

@@ -118,13 +118,13 @@ jobs:
118118
- name: Download cabal home
119119
uses: actions/download-artifact@v3
120120
with:
121-
name: cabal-home
121+
name: cabal-home-${{ matrix.ghc }}-${{ matrix.os }}
122122
path: .
123123

124124
- name: Download workspace
125125
uses: actions/download-artifact@v3
126126
with:
127-
name: workspace
127+
name: workspace-${{ matrix.ghc }}-${{ matrix.os }}
128128
path: .
129129

130130
- name: untar
@@ -146,7 +146,7 @@ jobs:
146146
- name: Archive benchmarking artifacts
147147
uses: actions/upload-artifact@v3
148148
with:
149-
name: bench-results-${{ runner.os }}-${{ matrix.ghc }}
149+
name: bench-results-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
150150
path: benchmark-artifacts.tar.gz
151151

152152
- name: tar benchmarking logs
@@ -155,7 +155,7 @@ jobs:
155155
- name: Archive benchmark logs
156156
uses: actions/upload-artifact@v3
157157
with:
158-
name: bench-logs-${{ runner.os }}-${{ matrix.ghc }}
158+
name: bench-logs-${{ matrix.example }}-${{ runner.os }}-${{ matrix.ghc }}
159159
path: benchmark-logs.tar.gz
160160

161161
bench_post_job:

0 commit comments

Comments
 (0)