From 209dbdfe7a22b03a919a4d64edae3f05cab84d1e Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 12 Oct 2023 14:15:13 +0200 Subject: [PATCH] Cooker pipeline: repeating pre-build automaions on download failure as well --- .github/workflows/cooker-selfhosted.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml index 3bfc2c23..1171a8b7 100644 --- a/.github/workflows/cooker-selfhosted.yml +++ b/.github/workflows/cooker-selfhosted.yml @@ -70,6 +70,9 @@ jobs: continue-on-error: true # Sometimes flatpak download fails, in this case it tries a second time + - name: Run pre-build automation tasks (retry) + if: steps.flatpak-download.outcome == 'failure' + run : "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/pre_build_automation.sh" - name: "Build flatpak: download only (retry)" if: steps.flatpak-download.outcome == 'failure' run: "/bin/bash ${GITHUB_WORKSPACE}/automation_tools/flatpak_build_download_only.sh"