From a1a98622c3162f8e703f1a43260ae08c1b48b42f Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 26 Dec 2023 18:54:00 +0100 Subject: [PATCH] misc: Update firmware workflow for upload/download v4. --- .github/workflows/firmware.yml | 6 ++---- tools/ci.sh | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index d141106bd..353366773 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -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' diff --git a/tools/ci.sh b/tools/ci.sh index 1b916c348..529a0e5e6 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -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} } ########################################################################################