Skip to content

Commit 1a2b28a

Browse files
Fix Helm CI
1 parent d75b070 commit 1a2b28a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,12 @@ jobs:
203203
uses: codacy/git-version@2.7.1
204204
with:
205205
release-branch: main
206+
- name: 🏗️ Package Helm chart
207+
run: helm package helm/
208+
if: github.event_name != 'push' || !endsWith(github.event.base_ref, 'main') || !startsWith(github.ref, 'refs/tags')
206209
- name: 🏗️ Package Helm chart
207210
run: helm package helm/ --version ${{ steps.version.outputs.version }}
211+
if: github.event_name == 'push' && endsWith(github.event.base_ref, 'main') && startsWith(github.ref, 'refs/tags')
208212
- name: 📤 Upload Helm chart
209213
uses: actions/upload-artifact@v7
210214
with:

0 commit comments

Comments
 (0)