Skip to content

Commit 2861e82

Browse files
committed
ci(workflows): enhance artifact upload and download processes
- Streamlined artifact uploads by adding specific upload tasks for 'artifacthub' alongside the previous 'helm' artifact. - Introduced a download step for 'artifacthub' artifacts to ensure proper retrieval in subsequent jobs.
1 parent 224583b commit 2861e82

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/main.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ jobs:
4040
uses: actions/upload-artifact@v4
4141
with:
4242
name: helm
43-
path: |
44-
.artifacts/helm
45-
src/helm/artifacthub-repo.yaml
43+
path: .artifacts/helm
4644

45+
- name: "artifacts - upload - artifacthub"
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: artifacthub
49+
path: src/helm/artifacthub-repo.yaml
4750

4851
- name: "artifacts - upload - kubectl manifests"
4952
uses: actions/upload-artifact@v4
@@ -105,6 +108,12 @@ jobs:
105108
name: helm
106109
path: .artifacts/helm
107110

111+
- name: artifacts - download - artifacthub
112+
uses: actions/download-artifact@v4
113+
with:
114+
name: artifacthub
115+
path: .artifacts/artifacthub
116+
108117
- name: artifacts - download - kubectl manifests
109118
uses: actions/download-artifact@v4
110119
with:

0 commit comments

Comments
 (0)