From c802897596e37952a3f3baa9221b046185fa46f4 Mon Sep 17 00:00:00 2001 From: scanner-darkly Date: Fri, 18 Dec 2020 12:39:17 -0800 Subject: [PATCH] fix folders --- .github/workflows/build_firmware.yml | 6 +++--- .github/workflows/upload_release.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_firmware.yml b/.github/workflows/build_firmware.yml index 7bf5290..be9e169 100644 --- a/.github/workflows/build_firmware.yml +++ b/.github/workflows/build_firmware.yml @@ -44,14 +44,14 @@ jobs: - name: build firmware run: | PATH="$HOME/avr32-tools/bin:$PATH" - cd multipass/monome_euro/${{matrix.module}} - find ../../.. -name '*.o' -delete + cd monome_euro/multipass/monome_euro/${{matrix.module}} + find ../../../.. -name '*.o' -delete make - name: prepare files id: get_file_name run: | - HEX_FILE_PATH=`echo multipass/monome_euro/${{matrix.module}}/*.hex "$1"` + HEX_FILE_PATH=`echo monome_euro/multipass/monome_euro/${{matrix.module}}/*.hex "$1"` HEX_FILE=`basename $HEX_FILE_PATH` NAMED_FILE=`echo "${HEX_FILE//multipass_/${{github.event.repository.name}}_}"` echo ::set-output name=named_file::$NAMED_FILE diff --git a/.github/workflows/upload_release.yml b/.github/workflows/upload_release.yml index dc53518..368cad0 100644 --- a/.github/workflows/upload_release.yml +++ b/.github/workflows/upload_release.yml @@ -34,14 +34,14 @@ jobs: - name: build firmware run: | PATH="$HOME/avr32-tools/bin:$PATH" - cd multipass/monome_euro/${{matrix.module}} - find ../../.. -name '*.o' -delete + cd monome_euro/multipass/monome_euro/${{matrix.module}} + find ../../../.. -name '*.o' -delete make - name: determine file names id: file_names run: | - HEX_FILE_PATH=`echo multipass/monome_euro/${{matrix.module}}/*.hex "$1"` + HEX_FILE_PATH=`echo monome_euro/multipass/monome_euro/${{matrix.module}}/*.hex "$1"` HEX_FILE=`basename $HEX_FILE_PATH` NAMED_FILE=`echo "${HEX_FILE//multipass_/${{github.event.repository.name}}_}"` ZIP_FILE=`echo "${NAMED_FILE//hex/zip}"`