mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
* Add chart-action submodules * use local github actions for chart actions * Run actions checkout for local checkout * Run lint when PR is edited * Remove path filter and dummy value * Fix fetch-depth * Test chart version bump * Update maintainer to pass validation * Update maintainer to pass validation
38 lines
888 B
YAML
38 lines
888 B
YAML
name: Release Charts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- 'helm/**'
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
|
uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
- name: Install Helm
|
|
uses: azure/setup-helm@v1
|
|
with:
|
|
version: v3.5.4
|
|
|
|
- name: Run chart-releaser
|
|
uses: ./.github/actions/chart-releaser-action
|
|
with:
|
|
charts_dir: helm
|
|
env:
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
CR_RELEASE_NAME_TEMPLATE: "superset-helm-chart-{{ .Version }}"
|