parent
a21137dcab
commit
69dea59871
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -46,11 +46,11 @@ jobs:
|
|||||||
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
||||||
- name: Rename zmk.uf2
|
- name: Rename zmk.uf2
|
||||||
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
|
run: cp build/zephyr/zmk.uf2 corne_left_nice_nano_v2.uf2
|
||||||
- name: Archive (Corne Left)
|
# - name: Archive (Corne Left)
|
||||||
uses: https://github.com/actions/upload-artifact@v3
|
# uses: https://github.com/actions/upload-artifact@v3
|
||||||
with:
|
# with:
|
||||||
name: firmware
|
# name: firmware
|
||||||
path: corne_left_nice_nano_v2.uf2
|
# path: corne_left_nice_nano_v2.uf2
|
||||||
- name: West Build (Corne Right)
|
- name: West Build (Corne Right)
|
||||||
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=corne_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||||
|
|
||||||
@ -58,8 +58,16 @@ jobs:
|
|||||||
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
run: cat build/zephyr/.config | grep -v "^#" | grep -v "^$"
|
||||||
- name: Rename zmk.uf2
|
- name: Rename zmk.uf2
|
||||||
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
|
run: cp build/zephyr/zmk.uf2 corne_right_nice_nano_v2.uf2
|
||||||
- name: Archive (Corne Right)
|
# - name: Archive (Corne Right)
|
||||||
uses: https://github.com/actions/upload-artifact@v3
|
# uses: https://github.com/actions/upload-artifact@v3
|
||||||
|
# with:
|
||||||
|
# name: firmware
|
||||||
|
# path: corne_right_nice_nano_v2.uf2
|
||||||
|
# - name: Release
|
||||||
|
- name: Upload artifacts as release
|
||||||
|
uses: https://github.com/softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
name: firmware
|
files: |
|
||||||
path: corne_right_nice_nano_v2.uf2
|
corne_left_nice_nano_v2.uf2
|
||||||
|
corne_right_nice_nano_v2.uf2
|
||||||
|
Loading…
Reference in New Issue
Block a user