Update GitHub Artifact Actions to v4
This commit is contained in:
parent
7e08dc84a0
commit
088abb50ae
@ -40,7 +40,7 @@ jobs:
|
|||||||
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=cradio_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
run: west build -s zmk/app -b nice_nano_v2 -- -DSHIELD=cradio_left -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||||
- name: Rename and upload artifact (Left)
|
- name: Rename and upload artifact (Left)
|
||||||
run: mv build/zephyr/zmk.uf2 cradio_left_nice_nano_v2.uf2
|
run: mv build/zephyr/zmk.uf2 cradio_left_nice_nano_v2.uf2
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: cradio_left_nice_nano_v2.uf2
|
path: cradio_left_nice_nano_v2.uf2
|
||||||
name: left
|
name: left
|
||||||
@ -79,7 +79,7 @@ jobs:
|
|||||||
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=cradio_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
run: west build --pristine -s zmk/app -b nice_nano_v2 -- -DSHIELD=cradio_right -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
|
||||||
- name: Rename and upload artifact (Right)
|
- name: Rename and upload artifact (Right)
|
||||||
run: mv build/zephyr/zmk.uf2 cradio_right_nice_nano_v2.uf2
|
run: mv build/zephyr/zmk.uf2 cradio_right_nice_nano_v2.uf2
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: cradio_right_nice_nano_v2.uf2
|
path: cradio_right_nice_nano_v2.uf2
|
||||||
name: right
|
name: right
|
||||||
@ -97,16 +97,16 @@ jobs:
|
|||||||
apt-get update;
|
apt-get update;
|
||||||
apt-get install --yes --no-install-recommends nodejs zip
|
apt-get install --yes --no-install-recommends nodejs zip
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: left
|
name: left
|
||||||
path: firmware/
|
path: firmware/
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: right
|
name: right
|
||||||
path: firmware/
|
path: firmware/
|
||||||
- name: Upload combined firmware artifacts
|
- name: Upload combined firmware artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: firmware/
|
path: firmware/
|
||||||
name: firmware
|
name: firmware
|
||||||
|
Loading…
Reference in New Issue
Block a user