Skip to content

Commit

Permalink
.github/workflows/build.yml: create release on tag
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Pijanowski <[email protected]>
  • Loading branch information
macpijan committed Oct 13, 2023
1 parent bc965ea commit 1ed355d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- dasharo
tags:
- 'dasharo_qemu_v*'
pull_request:
branches:
- dasharo
Expand Down Expand Up @@ -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

0 comments on commit 1ed355d

Please sign in to comment.