Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ecanuto authored Feb 25, 2024
1 parent 019375e commit 2c6a1c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Create release draft
run: |
echo gh release create "${GITHUB_REF_NAME}" \
gh release create "${GITHUB_REF_NAME}" \
--repo="${GITHUB_REPOSITORY}" \
--title="${GITHUB_REF_NAME}" \
--generate-notes \
Expand Down Expand Up @@ -71,10 +71,14 @@ jobs:
run: |
sudo virt-customize -a *.qcow2 \
--install qemu-guest-agent,locales-all,htop
- name: Cleanup image
run: sudo virt-sparsify --in-place *.qcow2

- name: Upload artifacts
run: |
gh release upload "debian-${DEBIAN_VERSION}-${DEBIAN_RELEASE}" *.qcow2
# gh release upload "debian-${DEBIAN_VERSION}-${DEBIAN_RELEASE}" *.qcow2
gh release upload "${GITHUB_REF_NAME}" *.qcow2
rebuild-docker-image:
name: Rebuild docker image
Expand Down

0 comments on commit 2c6a1c8

Please sign in to comment.