From 0b3cb0a2fdb3deea87a8158a4e1c988799535b58 Mon Sep 17 00:00:00 2001 From: ruffsl Date: Mon, 20 Mar 2023 21:35:43 +0100 Subject: [PATCH] Change directory to inside checked out repo or relative path under $GITHUB_WORKSPACE that actions/checkout places the repository --- .github/workflows/update_ci_image.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update_ci_image.yaml b/.github/workflows/update_ci_image.yaml index c1c871d79a..3888fba123 100644 --- a/.github/workflows/update_ci_image.yaml +++ b/.github/workflows/update_ci_image.yaml @@ -27,6 +27,7 @@ jobs: id: check if: github.event_name == 'push' run: | + cd navigation2 version=$(grep -oP '(?<=).*?(?=)' navigation2/package.xml) echo "version=${version}" >> $GITHUB_OUTPUT echo "trigger=true" >> $GITHUB_OUTPUT