Skip to content

Commit

Permalink
Improve release process
Browse files Browse the repository at this point in the history
  • Loading branch information
luis02lopez committed Dec 9, 2024
1 parent 2ee6afa commit 3d34e4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
release:
Expand Down Expand Up @@ -53,22 +54,22 @@ jobs:
# - name: Run chart-testing (list-changed)
# id: list-changed
# run: |
# changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
# changed=$(ct list-changed --target-branch $GITHUB_REF
# if [[ -n "$changed" ]]; then
# echo "changed=true" >> "$GITHUB_OUTPUT"
# fi

- name: Run chart-testing (lint)
# if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
run: ct lint --target-branch $GITHUB_REF

- name: Create kind cluster
# if: steps.list-changed.outputs.changed == 'true'
uses: helm/[email protected]

- name: Run chart-testing (install)
# if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch ${{ github.event.repository.default_branch }}
run: ct install --target-branch $GITHUB_REF

- name: Run chart-releaser
uses: helm/[email protected]
Expand Down

0 comments on commit 3d34e4e

Please sign in to comment.