Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Cloud Hypervisor edk2 release
on: [create, push]
on: push

jobs:
build-x64:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
make -C BaseTools
OvmfPkg/build.sh -p OvmfPkg/CloudHv/CloudHvX64.dsc -a X64 -b RELEASE
- name: Upload x86-64 artifact
if: github.event_name == 'create' && github.event.ref_type == 'tag'
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: cloudhv-x64
Expand All @@ -55,15 +55,15 @@ jobs:
build -p ArmVirtPkg/ArmVirtCloudHv.dsc -a AARCH64 -t GCC -b RELEASE \
--pcd gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1
- name: Upload AArch64 artifact
if: github.event_name == 'create' && github.event.ref_type == 'tag'
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: cloudhv-aarch64
path: Build/ArmVirtCloudHv-AARCH64/RELEASE_GCC/FV/CLOUDHV_EFI.fd

release:
name: Release
if: github.event_name == 'create' && github.event.ref_type == 'tag'
if: startsWith(github.ref, 'refs/tags/')
needs: [build-x64, build-aarch64]
runs-on: ubuntu-latest
permissions:
Expand Down
Loading