mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
chore(ci): Optimize build workflow (#2757)
* Use treeless clones in workflows * Replace yaml2json with yq Github's ubuntu runners come with `yq` installed, which can replace piping `yaml2json` to `jq`. It also saves installing `yaml2json`. It's worth noting that the `yq` version installed is the `go` version (which has a slightly different syntax than the competing `python` version).
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
- name: Initialize workspace (west init)
|
||||
run: west init -l app
|
||||
- name: Update modules (west update)
|
||||
run: west update
|
||||
run: west update --fetch-opt=--filter=tree:0
|
||||
- name: Export Zephyr CMake package (west zephyr-export)
|
||||
run: west zephyr-export
|
||||
- name: Use Node.js
|
||||
|
||||
Reference in New Issue
Block a user