Skip to content

Commit 9fc4768

Browse files
committed
Add build github workflow
1 parent 9566518 commit 9fc4768

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
tags:
6+
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
7+
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" # Push events to matching alpha releases
8+
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" # Push events to matching beta releases
9+
- "v[0-9]+.[0-9]+.[0-9]+-patch.[0-9]+" # Push events to matching beta releases
10+
- "v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+" # Push events to matching rc releases
11+
12+
jobs:
13+
build:
14+
runs-on: secret-vm-build-runner
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
submodules: recursive
19+
- name: Build
20+
run: scripts/build_reproducible.sh
21+
- name: Release
22+
uses: softprops/action-gh-release@v1
23+
with:
24+
prerelease: true
25+
files: |
26+
artifacts/rootfs.iso
27+
artifacts/rootfs-gpu.iso
28+
artifacts/ovmf.fd
29+
artifacts/bzImage
30+
artifacts/initramfs.cpio.gz

0 commit comments

Comments
 (0)