From d5c5e386048cc287c009bcfb015686014043a616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Thu, 3 Apr 2025 09:20:54 +0200 Subject: [PATCH] CI: Store qcow2 disk images as release artififacts This to make it easier to use GNS3 appliance file from GNS3 marketplace. --- .github/workflows/release.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93ec085a..ea785456 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,6 +95,11 @@ jobs: name: artifact-${{ matrix.target }} path: output/*.tar.gz + - uses: actions/upload-artifact@v4 + with: + name: artifact-disk-image-${{ matrix.target }} + path: output/images/*.qcow2 + release: name: Release Infix ${{ github.ref_name }} needs: build @@ -141,6 +146,11 @@ jobs: for file in *.tar.gz; do sha256sum $file > $file.sha256 done + if ls *.qcow2 &>/dev/null; then + for file in *.qcow2; do + sha256sum "$file" > "$file.sha256" + done + fi - name: Extract ChangeLog entry ... run: | @@ -155,7 +165,7 @@ jobs: makeLatest: ${{ steps.rel.outputs.latest }} discussionCategory: ${{ steps.rel.outputs.cat }} bodyFile: release.md - artifacts: "*.tar.gz*" + artifacts: "*.tar.gz*,*.qcow2*" - name: Summary run: |