Skip to content

build(deps): bump google.golang.org/grpc from 1.66.1 to 1.66.2 #2995

build(deps): bump google.golang.org/grpc from 1.66.1 to 1.66.2

build(deps): bump google.golang.org/grpc from 1.66.1 to 1.66.2 #2995

name: helm-chart-package
on:
pull_request:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
helm-package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
with:
version: v3.8.1
- run: mkdir -p build
- id: package
run: |
helm_output="$(helm package -d build deploy/helm)"
tgz_path="${helm_output##*saved it to: }"
echo "helm chart tgz path: '${tgz_path}'"
[ ! -f "${tgz_path}" ] && echo "failed to find helm chart from 'helm package' stdout" && exit 1
echo "helm_tgz_path=${tgz_path}" >> $GITHUB_OUTPUT
echo "helm_tgz_name=${tgz_path##*/}" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: ${{ steps.package.outputs.helm_tgz_name}}
path: ${{ steps.package.outputs.helm_tgz_path}}
if-no-files-found: error
- uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # v2.0.8
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ steps.package.outputs.helm_tgz_path}}