ci: install jq before the release manifest steps
Neither the release nor the publish job has ever executed, so jq's presence in the runner image is unproven while both depend on it. The guard matches the one the history gate already uses for curl.
This commit is contained in:
parent
efbfc588ca
commit
f9e099f4f4
1 changed files with 2 additions and 0 deletions
|
|
@ -436,6 +436,7 @@ jobs:
|
||||||
- name: Generate manifest artifact snippet
|
- name: Generate manifest artifact snippet
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
command -v jq >/dev/null || (apt-get update -qq && apt-get install -y -qq jq)
|
||||||
VERSION=${GITHUB_REF#refs/tags/v}
|
VERSION=${GITHUB_REF#refs/tags/v}
|
||||||
cd dist
|
cd dist
|
||||||
# Emit one JSON object per binary in this platform's tarball.
|
# Emit one JSON object per binary in this platform's tarball.
|
||||||
|
|
@ -504,6 +505,7 @@ jobs:
|
||||||
- name: Generate component manifest
|
- name: Generate component manifest
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
command -v jq >/dev/null || (apt-get update -qq && apt-get install -y -qq jq)
|
||||||
VERSION=${GITHUB_REF#refs/tags/v}
|
VERSION=${GITHUB_REF#refs/tags/v}
|
||||||
NOW=$(date -u +%s)
|
NOW=$(date -u +%s)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue