From dc7dbdc2ac68c0819d40e545fad9bef9b9cf5dab Mon Sep 17 00:00:00 2001 From: camerontf-franklinai <139732363+camerontf-franklinai@users.noreply.github.com> Date: Thu, 14 Dec 2023 11:49:09 +0800 Subject: [PATCH] update github action --- .github/workflows/release.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 26563f1..c561e4b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,13 +4,17 @@ on: push: branches: - main + workflow_dispatch: {} + +permissions: + packages: write jobs: release: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -20,12 +24,12 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Install Helm - uses: azure/setup-helm@v1 + uses: azure/setup-helm@v3 with: - version: v3.7.1 + version: v3.13.2 - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.4.0 + uses: helm/chart-releaser-action@v1.6.0 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" CR_SKIP_EXISTING: true