Skip to content

Add test job to release workflow #40

Add test job to release workflow

Add test job to release workflow #40

Workflow file for this run

name: Release Charts
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ "3.7.1", "3.11.1" ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Helm
uses: azure/[email protected]
with:
version: ${{ matrix.version }}
- name: Run Helm Template
run: |
cd charts/knowage
helm template test .
release:
runs-on: ubuntu-latest
needs: [ test ]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"