From 34c21d14be11e95cda24441bdb98c739e9b550c9 Mon Sep 17 00:00:00 2001 From: FizzyApple12 Date: Sat, 2 Jul 2022 20:09:06 -0400 Subject: [PATCH] fix for cd --- .github/workflows/build-protocol-translator.yml | 14 +++++++------- .github/workflows/build-touch-panel.yml | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-protocol-translator.yml b/.github/workflows/build-protocol-translator.yml index 9bda9f3..43aab69 100644 --- a/.github/workflows/build-protocol-translator.yml +++ b/.github/workflows/build-protocol-translator.yml @@ -7,13 +7,13 @@ jobs: - uses: actions/checkout@v3 - name: Download Required Packages run: sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib - - run: ls -la - - run: cd ./WaccaProtocolTranslator - - run: ls -la - - run: sudo chmod +x autobuild.sh + - working-directory: ./WaccaProtocolTranslator + - run: - name: Run Autobuild - run: sudo sh autobuild.sh + run: | + sudo chmod +x autobuild.sh + sudo sh autobuild.sh - uses: actions/upload-artifact@v3 with: - name: Protocol Translator Firmware - path: ./artifacts/ \ No newline at end of file + name: Touch Panel Firmware + path: $GITHUB_WORKSPACE/WaccaProtocolTranslator/artifacts/ \ No newline at end of file diff --git a/.github/workflows/build-touch-panel.yml b/.github/workflows/build-touch-panel.yml index b2aa131..33672aa 100644 --- a/.github/workflows/build-touch-panel.yml +++ b/.github/workflows/build-touch-panel.yml @@ -7,13 +7,13 @@ jobs: - uses: actions/checkout@v3 - name: Download Required Packages run: sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib - - run: ls -la - - run: cd ./WaccaTouchPanel - - run: ls -la - - run: sudo chmod +x autobuild.sh + - working-directory: ./WaccaTouchPanel + - run: - name: Run Autobuild - run: sudo sh autobuild.sh + run: | + sudo chmod +x autobuild.sh + sudo sh autobuild.sh - uses: actions/upload-artifact@v3 with: name: Touch Panel Firmware - path: ./artifacts/ \ No newline at end of file + path: $GITHUB_WORKSPACE/WaccaTouchPanel/artifacts/ \ No newline at end of file