mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
misc: Update firmware workflow for upload/download v4.
This commit is contained in:
parent
e01415f56d
commit
a1a98622c3
6
.github/workflows/firmware.yml
vendored
6
.github/workflows/firmware.yml
vendored
@ -57,8 +57,8 @@ jobs:
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: firmware
|
||||
path: firmware
|
||||
name: ${{ matrix.target }}
|
||||
path: ${{ matrix.target }}
|
||||
if-no-files-found: error
|
||||
|
||||
stable-release:
|
||||
@ -74,7 +74,6 @@ jobs:
|
||||
- name: '🤌 Download artifacts'
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: firmware
|
||||
path: firmware
|
||||
|
||||
- name: '📦 Package firmware'
|
||||
@ -119,7 +118,6 @@ jobs:
|
||||
- name: '🤌 Download artifacts'
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: firmware
|
||||
path: firmware
|
||||
|
||||
- name: '📦 Package firmware'
|
||||
|
||||
@ -34,8 +34,7 @@ ci_build_target() {
|
||||
export PATH=${TOOLCHAIN_PATH}/bin:${PATH}
|
||||
make -j$(nproc) -C src/micropython/mpy-cross
|
||||
make -j$(nproc) TARGET=${1} -C src
|
||||
mkdir firmware
|
||||
mv src/build/bin firmware/${1}
|
||||
mv src/build/bin ${1}
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
|
||||
Loading…
Reference in New Issue
Block a user