Skip to content
/ edk2 Public

Commit 1ed355d

Browse files
committed
.github/workflows/build.yml: create release on tag
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
1 parent bc965ea commit 1ed355d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- dasharo
7+
tags:
8+
- 'dasharo_qemu_v*'
79
pull_request:
810
branches:
911
- dasharo
@@ -59,3 +61,13 @@ jobs:
5961
Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd
6062
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd
6163
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd
64+
65+
- name: Create GitHub Release
66+
uses: softprops/action-gh-release@v1
67+
if: startsWith(github.event.ref, 'refs/tags/dasharo_qemu')
68+
with:
69+
files: |
70+
Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd
71+
Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd
72+
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd
73+
Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd

0 commit comments

Comments
 (0)