Skip to content

Commit b82e59f

Browse files
committed
Different retention for files on success and failure
1 parent 0e295a0 commit b82e59f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/buildtest.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,22 @@ jobs:
8888
username: ${{ github.actor }}
8989
password: ${{ secrets.GITHUB_TOKEN }}
9090

91-
- name: Upload site reports
91+
- name: Upload site reports on success
9292
uses: actions/upload-artifact@v4
93-
if: always()
93+
if: success()
9494
with:
9595
name: reports
96+
retention-days: 90
97+
path: |
98+
query-engine/target/site
99+
query-engine-design-mode/target/site
100+
101+
- name: Upload site reports on failure
102+
uses: actions/upload-artifact@v4
103+
if: failure()
104+
with:
105+
name: reports
106+
retention-days: 3
96107
path: |
97108
query-engine/target/site
98109
query-engine-design-mode/target/site

0 commit comments

Comments
 (0)