Skip to content

Commit dc29a5b

Browse files
fix: upload results in github action
1 parent 454f990 commit dc29a5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Upload Results
4747
uses: actions/upload-artifact@v4
48-
if: always()
48+
if: success()
4949
with:
5050
name: mysql-results
5151
path: benchmark/BenchmarkDotNet.Artifacts/results/mysql/
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Upload Results
7979
uses: actions/upload-artifact@v4
80-
if: always()
80+
if: success()
8181
with:
8282
name: postgresql-results
8383
path: benchmark/BenchmarkDotNet.Artifacts/results/postgresql/
@@ -104,7 +104,7 @@ jobs:
104104

105105
- name: Upload Results
106106
uses: actions/upload-artifact@v4
107-
if: always()
107+
if: success()
108108
with:
109109
name: sqlite-results
110110
path: benchmark/BenchmarkDotNet.Artifacts/results/sqlite/

0 commit comments

Comments
 (0)