mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
Fix writing of yq in repo_sync
Make sure binary path exists before writing. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
parent
ca847ff026
commit
651a560254
@ -110,7 +110,7 @@ jobs:
|
||||
executor: golang
|
||||
steps:
|
||||
- checkout
|
||||
- run: curl -sL --fail https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64 -o "${PATH%%:*}/yq" && chmod -v +x "${PATH%%:*}/yq"
|
||||
- run: mkdir -v -p "${PATH%%:*}" && curl -sL --fail https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64 -o "${PATH%%:*}/yq" && chmod -v +x "${PATH%%:*}/yq"
|
||||
- run: sha256sum -c <(echo "c4343783c3361495c0d6d1eb742bba7432aa65e13e9fb8d7e201d544bcf14247 ${PATH%%:*}/yq")
|
||||
- run: ./scripts/sync_repo_files.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user