Skip to content

Commit

Permalink
webhook: Fix the path to versions.yaml
Browse files Browse the repository at this point in the history
Point to the correct location of versions.yaml for the build and test
job for webhook

Signed-off-by: Pradipta Banerjee <[email protected]>
  • Loading branch information
bpradipt committed Oct 16, 2023
1 parent d1f6f9b commit f151f9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/webhook-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/webhook-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit f151f9a

Please sign in to comment.