Skip to content

Commit

Permalink
ci: use general runner and update action plugin versions
Browse files Browse the repository at this point in the history
Signed-off-by: davidko <dko@suse.com>
  • Loading branch information
innobead committed Feb 1, 2024
1 parent 728dfbc commit e661797
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release-ondemand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ on:

jobs:
release:
runs-on: self-hosted
permissions:
contents: write

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: "${{ github.event.inputs.branch }}"

- name: Fetch history
run: git fetch --prune --unshallow

- name: Install Helm
run: |
curl -fsSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
chmod 700 get_helm.sh
./get_helm.sh
uses: azure/setup-helm@v3

- name: Configure Git
run: |
Expand All @@ -32,6 +33,6 @@ jobs:
cat ./charts/longhorn/Chart.yaml
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.0.0
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit e661797

Please sign in to comment.