Skip to content

Commit 8fab2b5

Browse files
committed
Rework GitHub actions to also build assets on push
1 parent 752a670 commit 8fab2b5

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build check
2+
on: [ push ]
3+
4+
jobs:
5+
build:
6+
name: Build boot images
7+
runs-on: ubuntu-latest
8+
container:
9+
image: ghcr.io/zbm-dev/zbm-builder
10+
steps:
11+
- uses: actions/checkout@master
12+
13+
- name: Create files
14+
run: |
15+
ln -s "$(pwd)" /zbm
16+
[ -x /zbm/releng/docker/zbm-build.sh ] && /zbm/releng/docker/zbm-build.sh
17+
18+
- name: Archive EFI
19+
uses: actions/upload-artifact@v2
20+
with:
21+
name: EFI
22+
path: /zbm/releng/docker/build/*.EFI
23+
24+
- name: Archive components
25+
uses: actions/upload-artifact@v2
26+
with:
27+
name: Components
28+
path: |
29+
/zbm/releng/docker/build/*
30+
!/zbm/releng/docker/build/*.EFI
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ZFS Boot Menu
1+
name: Analyze scripts
22
on: [ push ]
33

44
jobs:
@@ -7,5 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@master
10+
1011
- name: Run ShellCheck
1112
uses: ludeeus/action-shellcheck@master

0 commit comments

Comments
 (0)