Skip to content

Commit

Permalink
Rework GitHub actions to also build assets on push
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Oct 16, 2021
1 parent 752a670 commit 8fab2b5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build check
on: [ push ]

jobs:
build:
name: Build boot images
runs-on: ubuntu-latest
container:
image: ghcr.io/zbm-dev/zbm-builder
steps:
- uses: actions/checkout@master

- name: Create files
run: |
ln -s "$(pwd)" /zbm
[ -x /zbm/releng/docker/zbm-build.sh ] && /zbm/releng/docker/zbm-build.sh
- name: Archive EFI
uses: actions/upload-artifact@v2
with:
name: EFI
path: /zbm/releng/docker/build/*.EFI

- name: Archive components
uses: actions/upload-artifact@v2
with:
name: Components
path: |
/zbm/releng/docker/build/*
!/zbm/releng/docker/build/*.EFI
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ZFS Boot Menu
name: Analyze scripts
on: [ push ]

jobs:
Expand All @@ -7,5 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master

0 comments on commit 8fab2b5

Please sign in to comment.