normalize paths

This commit is contained in:
2026-05-29 10:46:30 -04:00
parent 317c2289c9
commit 31865394fb
2 changed files with 7 additions and 9 deletions
+5 -7
View File
@@ -15,10 +15,10 @@ inputs:
required: true
CHART_PATH:
description: "Path to the Helm chart"
default: "."
default: "./helm"
VALUES_FILE:
description: "Path to a values file (optional)"
default: ""
description: "The values file to use"
default: "./helm/values.yaml"
runs:
using: composite
@@ -34,10 +34,8 @@ runs:
shell: sh
run: |
helm dependency update ${{ inputs.CHART_PATH }}
VALUES_FLAG=""
if [ -n "${{ inputs.VALUES_FILE }}" ]; then VALUES_FLAG="--values ${{ inputs.VALUES_FILE }}"; fi
echo "Running: helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} $VALUES_FLAG"
helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} $VALUES_FLAG
echo "Running: helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} --values ${{ inputs.VALUES_FILE }}"
helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} --values ${{ inputs.VALUES_FILE }}
- name: Remove kubeconfig
if: always()