From 4287ac50acee6ef1ff4e2c1bf474356fa4a06800 Mon Sep 17 00:00:00 2001 From: thepetk Date: Tue, 12 Nov 2024 13:49:41 -0500 Subject: [PATCH] Finalize test workflow --- .github/workflows/release.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e8555fe..4783c59 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,8 +12,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - chartpath: - - "charts/chatbot" + chart: + - path: charts/chatbot + package: chatbot-ai-software-template steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -28,5 +29,12 @@ jobs: - name: Generate Helm Package run: | RELEASE_VERSION=${GITHUB_REF#refs/*/} - CHART_PATH=${{matrix.chartpath}} - helm package $CHART_PATH/$RELEASE_VERSION + CHART_PATH=${{matrix.chart.path}} + helm package $CHART_PATH + echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV + + - name: Add packages to Release + uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 + with: + draft: false + file: ${{matrix.chart.package}}/${{env.RELEASE_VERSION}}