Skip to content

Commit e44d1ef

Browse files
committed
.github/workflows: separate export of the image and meta files
Export two artifacts, one that contains only the zip with the image and the other with the meta files generated during build time. Signed-off-by: Andreea Andrisan <Andreea.Andrisan@analog.com>
1 parent 87fd92d commit e44d1ef

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/docker-image-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
workflow: kuiper2_0-build.yml
4444
branch: main
45-
name: ${{ matrix.kuiper_artifact }}
45+
name: ${{ matrix.kuiper_artifact }}_image
4646
repo: analogdevicesinc/adi-kuiper-gen
4747

4848
- name: Create .tar file

.github/workflows/kuiper2_0-build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,18 @@ jobs:
5151
sudo bash build-docker.sh
5252
ls kuiper-volume/*.zip >/dev/null 2>&1 && exit 0 || exit 2
5353
- name: Upload image
54+
uses: actions/upload-artifact@v4
55+
with:
56+
name: ${{ env.ARTIFACT_NAME }}_image
57+
path: ${{ github.workspace }}/kuiper-volume/*.zip
58+
- name: Upload meta
5459
if: always()
5560
uses: actions/upload-artifact@v4
5661
with:
57-
name: ${{ env.ARTIFACT_NAME }}
58-
path: ${{ github.workspace }}/kuiper-volume
62+
name: ${{ env.ARTIFACT_NAME }}_meta
63+
path: |
64+
${{ github.workspace }}/kuiper-volume
65+
!${{ github.workspace }}/kuiper-volume/*.zip
5966
6067
Trigger_workflow:
6168
needs: Build

0 commit comments

Comments
 (0)