try to upload as release instead
Some checks failed
Build

This commit is contained in:
Marius Alwan Meyer 2023-04-10 21:43:16 +00:00
parent a21137dcab
commit 69dea59871

View File

@ -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