Skip to content

Commit 24f2ff1

Browse files
authored
Merge pull request #32484 from DaanDeMeyer/mkosi-ci
Two mkosi CI improvements
2 parents d1c4174 + 1731008 commit 24f2ff1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/mkosi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,16 +188,17 @@ jobs:
188188

189189
- name: Archive failed test journals
190190
uses: actions/upload-artifact@v4
191-
if: failure()
191+
if: failure() && (github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable')
192192
with:
193193
name: ci-mkosi-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.distro }}-${{ matrix.release }}-failed-test-journals
194194
path: |
195195
build/test/journal/*.journal
196196
build/meson-logs/*
197+
retention-days: 7
197198

198199
- name: Archive packages
199200
uses: actions/upload-artifact@v4
200-
if: success() || failure()
201+
if: (success() || failure()) && (github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable')
201202
with:
202203
name: ci-mkosi-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.distro }}-${{ matrix.release }}-packages
203204
path: |

0 commit comments

Comments
 (0)