Skip to content
Merged
Show file tree
Hide file tree
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
25 changes: 23 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
on: [push, pull_request, workflow_dispatch]
name: zmk-build-and-release

on:
push:
paths:
- 'config/**'
- '.github/workflows/build.yml'
- 'build.yaml'
branches: [ "mainline" ]
pull_request:
paths:
- 'config/**'
- '.github/workflows/build.yml'
- 'build.yaml'
branches: [ "mainline" ]
workflow_dispatch:

jobs:
build:
uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main
permissions:
contents: read

uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@v0.3

release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Release artifacts
uses: softprops/action-gh-release@v2
Expand Down
3 changes: 2 additions & 1 deletion config/west.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
manifest:
defaults:
revision: v0.3
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
projects:
- name: zmk
remote: zmkfirmware
revision: main
import: app/west.yml
self:
path: config
3 changes: 3 additions & 0 deletions zephyr/module.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build:
settings:
board_root: .