Merge pull request #121 from yudong2015/3.x-dev #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
# Need GitHub secret: GITHUB_TOKEN | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
branches: | |
- 'release-*.*.*' | |
- 'master' | |
jobs: | |
release: | |
runs-on: ubuntu-20.04 | |
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 "$GITHUB_ACTOR@users.noreply.github.com" | |
- name: Install Helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: v3.4.0 | |
- name: Run chart-releaser | |
uses: helm/chart-releaser-action@v1.2.1 | |
env: | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |