Skip to content

Commit e661797

Browse files
committed
ci: use general runner and update action plugin versions
Signed-off-by: davidko <dko@suse.com>
1 parent 728dfbc commit e661797

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/release-ondemand.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,22 @@ on:
99

1010
jobs:
1111
release:
12-
runs-on: self-hosted
12+
permissions:
13+
contents: write
14+
15+
runs-on: ubuntu-latest
16+
1317
steps:
1418
- name: Checkout
15-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
1620
with:
1721
ref: "${{ github.event.inputs.branch }}"
1822

1923
- name: Fetch history
2024
run: git fetch --prune --unshallow
2125

2226
- name: Install Helm
23-
run: |
24-
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
25-
chmod 700 get_helm.sh
26-
./get_helm.sh
27+
uses: azure/setup-helm@v3
2728

2829
- name: Configure Git
2930
run: |
@@ -32,6 +33,6 @@ jobs:
3233
cat ./charts/longhorn/Chart.yaml
3334
3435
- name: Run chart-releaser
35-
uses: helm/chart-releaser-action@v1.0.0
36+
uses: helm/chart-releaser-action@v1.6.0
3637
env:
3738
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)