ci: ignore failures to chown journal in GHA jobs

Otherwise when the build fails, this fails, and the GUI jumps to the
chown failure instead of the actual failure

Follow-up for 35bf1c8264
This commit is contained in:
Luca Boccassi
2026-05-21 20:43:56 +01:00
parent 1d102a663e
commit c7655af547
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ jobs:
- name: Fix journal ownership
if: failure() && (github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable')
run: sudo chown -R "$(id -u):$(id -g)" build/test/journal build/meson-logs
run: sudo chown -R "$(id -u):$(id -g)" build/test/journal build/meson-logs || true
- name: Archive failed test journals
uses: actions/upload-artifact@v7
+1 -1
View File
@@ -320,7 +320,7 @@ jobs:
- name: Fix journal ownership
if: failure() && (github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable')
run: sudo chown -R "$(id -u):$(id -g)" build/test/journal build/meson-logs
run: sudo chown -R "$(id -u):$(id -g)" build/test/journal build/meson-logs || true
- name: Archive failed test journals
uses: actions/upload-artifact@v7