Install Helm without third-party setup action
Validate, publish and promote Asciinema chart / validate (push) Successful in 1m42s
Validate, publish and promote Asciinema chart / publish (push) Successful in 28s

This commit is contained in:
feedc0de committed 2026-10-18 23:50:19 +02:00
1 parent 16c65f8bf2
commit fcd072d952
1 file changed
+22 -6
+22 -6
View File
@@ -16,9 +16,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- name: Install Helm
run: |
set -euo pipefail
curl --fail --silent --show-error --location \
--output "${RUNNER_TEMP}/helm.tar.gz" \
"https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"
tar --extract --gzip --file "${RUNNER_TEMP}/helm.tar.gz" \
--directory "${RUNNER_TEMP}" linux-amd64/helm
mv "${RUNNER_TEMP}/linux-amd64/helm" "${RUNNER_TEMP}/helm"
chmod 0700 "${RUNNER_TEMP}/helm"
echo "${RUNNER_TEMP}" >> "${GITHUB_PATH}"
- name: Lint, render and validate the chart
run: ./test.sh
@@ -30,9 +38,17 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: azure/setup-helm@v4
with:
version: ${{ env.HELM_VERSION }}
- name: Install Helm
run: |
set -euo pipefail
curl --fail --silent --show-error --location \
--output "${RUNNER_TEMP}/helm.tar.gz" \
"https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"
tar --extract --gzip --file "${RUNNER_TEMP}/helm.tar.gz" \
--directory "${RUNNER_TEMP}" linux-amd64/helm
mv "${RUNNER_TEMP}/linux-amd64/helm" "${RUNNER_TEMP}/helm"
chmod 0700 "${RUNNER_TEMP}/helm"
echo "${RUNNER_TEMP}" >> "${GITHUB_PATH}"
- name: Select immutable chart version
run: printf 'CHART_VERSION=%s\n' "$(./scripts/chart-version.sh)" >> "$GITHUB_ENV"
- name: Package and publish chart