diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db8dc2f21a..9303e45f19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: push: branches: - dasharo + tags: + - 'dasharo_qemu_v*' pull_request: branches: - dasharo @@ -59,3 +61,13 @@ jobs: Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd + + - name: Create GitHub Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.event.ref, 'refs/tags/dasharo_qemu') + with: + files: | + Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd + Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd + Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd + Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd