Move yq version into env var and add comment

This commit is contained in:
Michael B. Gale
2026-01-26 10:59:43 +00:00
parent 605d404db0
commit 3657da1eac
2 changed files with 8 additions and 3 deletions

View File

@@ -80,8 +80,9 @@ jobs:
if: runner.os == 'Windows'
env:
YQ_PATH: ${{ runner.temp }}/yq
YQ_VERSION: v4.50.1
run: |-
gh release download --repo mikefarah/yq --pattern "yq_windows_amd64.exe" v4.50.1 -O "$YQ_PATH/yq.exe"
gh release download --repo mikefarah/yq --pattern "yq_windows_amd64.exe" "$YQ_VERSION" -O "$YQ_PATH/yq.exe"
echo "$YQ_PATH" >> "$GITHUB_PATH"
- name: Set up Java test repo configuration
run: |