From f151f9a58744c5eec2722fa0d375ac04ec9f99cf Mon Sep 17 00:00:00 2001 From: Pradipta Banerjee Date: Mon, 16 Oct 2023 16:52:01 +0530 Subject: [PATCH] webhook: Fix the path to versions.yaml Point to the correct location of versions.yaml for the build and test job for webhook Signed-off-by: Pradipta Banerjee --- .github/workflows/webhook-build.yaml | 2 +- .github/workflows/webhook-test.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/webhook-build.yaml b/.github/workflows/webhook-build.yaml index f638e1559..a7161d886 100644 --- a/.github/workflows/webhook-build.yaml +++ b/.github/workflows/webhook-build.yaml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - name: Read properties from versions.yaml run: | - go_version="$(yq '.tools.golang' versions.yaml)" + go_version="$(yq '.tools.golang' ../versions.yaml)" [ -n "$go_version" ] echo "GO_VERSION=${go_version}" >> "$GITHUB_ENV" - name: Setup Golang version ${{ env.GO_VERSION }} diff --git a/.github/workflows/webhook-test.yaml b/.github/workflows/webhook-test.yaml index 40a34d5f8..e5a0239c7 100644 --- a/.github/workflows/webhook-test.yaml +++ b/.github/workflows/webhook-test.yaml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v3 - name: Read properties from versions.yaml run: | - go_version="$(yq '.tools.golang' versions.yaml)" + go_version="$(yq '.tools.golang' ../versions.yaml)" [ -n "$go_version" ] echo "GO_VERSION=${go_version}" >> "$GITHUB_ENV" - name: Setup Golang version ${{ env.GO_VERSION }}