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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user