diff --git a/.github/workflows/charts-lint.yaml b/.github/workflows/charts-lint.yaml index 7c91f5a70ac..c7b5ecc86df 100644 --- a/.github/workflows/charts-lint.yaml +++ b/.github/workflows/charts-lint.yaml @@ -57,6 +57,23 @@ jobs: with: version: v3.14.0 + - name: Install ./clustertool + shell: bash + run: | + VERSION="2.0.0-BETA-4" + FILENAME="clustertool_${VERSION}_linux_amd64.tar.gz" + URL="https://github.com/truecharts/public/releases/download/v${VERSION}/${FILENAME}" + + mkdir -p temp + cd temp + # Download the archive + curl -L -o "$FILENAME" "$URL" + + # Extract the archive + tar -xzf "$FILENAME" + + cd .. + - name: Prep Helm if: inputs.chartChangesDetected == 'true' run: | @@ -105,7 +122,7 @@ jobs: charts_path: "./" run: | CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]') - ./clustertool-bin deps ${CHANGED} + ./temp/clustertool-bin deps ${CHANGED} - name: Run Chart Linting continue-on-error: true