Skip to content

build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 #3091

build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0

build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 #3091

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
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@84480863f228bb9747b473957fcc9e309aa96097 # v4.4.2
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}}