Skip to content

Commit

Permalink
Finalize test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thepetk committed Nov 12, 2024
1 parent 24a2e25 commit 4287ac5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

0 comments on commit 4287ac5

Please sign in to comment.