From 9c3f1e945f7a00a8000dc79dc56c7893c690ec03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ron=20Svastits?= <49677296+Svastits@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:49:32 +0100 Subject: [PATCH] fix branch for humble pipe (#207) Co-authored-by: svastits --- .github/workflows/industrial_ci_humble.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/industrial_ci_humble.yml b/.github/workflows/industrial_ci_humble.yml index 0f08fd0a..6c1ed7c9 100644 --- a/.github/workflows/industrial_ci_humble.yml +++ b/.github/workflows/industrial_ci_humble.yml @@ -47,10 +47,17 @@ jobs: if [[ "${{ github.event_name }}" == "schedule" ]] || { [[ "${{ github.event_name }}" == "push" ]] && [[ "${{ github.ref }}" != "refs/heads/humble" ]]; }; then echo "ANALYZER=" >> $GITHUB_ENV fi - - uses: actions/checkout@v2 + - name: Checkout code + if: github.event.schedule != '' + uses: actions/checkout@v2 with: fetch-depth: 0 ref: humble + - name: Checkout humble branch for scheduled runs + if: github.event.schedule == '' + uses: actions/checkout@v2 + with: + fetch-depth: 0 # This step will fetch/store the directory used by ccache before/after the ci run - uses: actions/cache@v4