From 818d20c087822b709ea3a47bcff3866881816b9d Mon Sep 17 00:00:00 2001 From: Kevin Dinkel <1225857+dinkelk@users.noreply.github.com> Date: Fri, 13 Sep 2024 19:05:46 -0600 Subject: [PATCH] Refine workflow artifacts --- .github/workflows/build_linux.yml | 2 +- .github/workflows/build_pico.yml | 4 ++-- .github/workflows/publish_all.yml | 2 +- .github/workflows/style_all.yml | 4 ++-- .github/workflows/test_all.yml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index c055ba0..a0913f1 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -34,6 +34,6 @@ jobs: uses: actions/upload-artifact@v4 with: name: linux_elf - path: adamant_example/src/assembly/linux/main/build/bin/Linux/main.elf + path: ${{ github.workspace }}/adamant_example/src/assembly/linux/main/build/bin/Linux/main.elf if-no-files-found: error - run: echo "Finished with status - ${{ job.status }}." diff --git a/.github/workflows/build_pico.yml b/.github/workflows/build_pico.yml index e153077..bead5d6 100644 --- a/.github/workflows/build_pico.yml +++ b/.github/workflows/build_pico.yml @@ -35,7 +35,7 @@ jobs: with: name: pico_elf path: | - adamant_example/src/assembly/pico/main/build/bin/Pico/main.elf - adamant_example/src/assembly/pico/main/build/bin/Pico/main.uf2 + ${{ github.workspace }}/adamant_example/src/assembly/pico/main/build/bin/Pico/main.elf + ${{ github.workspace }}/adamant_example/src/assembly/pico/main/build/bin/Pico/main.uf2 if-no-files-found: error - run: echo "Finished with status - ${{ job.status }}." diff --git a/.github/workflows/publish_all.yml b/.github/workflows/publish_all.yml index 3d111ee..76db9f8 100644 --- a/.github/workflows/publish_all.yml +++ b/.github/workflows/publish_all.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: jobs: compile_job: - name: test_all + name: publish_all runs-on: ubuntu-latest container: image: ghcr.io/lasp/adamant_example:latest diff --git a/.github/workflows/style_all.yml b/.github/workflows/style_all.yml index a203dcc..7797a01 100644 --- a/.github/workflows/style_all.yml +++ b/.github/workflows/style_all.yml @@ -34,8 +34,8 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: failed_style_logs - path: adamant_example/build/failed_style_logs + name: style_logs + path: ${{ github.workspace }}/adamant_example/build if-no-files-found: ignore - run: echo "Finished with status - ${{ job.status }}." if: always() diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml index 8444c8a..4e7c6d0 100644 --- a/.github/workflows/test_all.yml +++ b/.github/workflows/test_all.yml @@ -34,8 +34,8 @@ jobs: if: always() uses: actions/upload-artifact@v4 with: - name: failed_test_logs - path: adamant_example/build/failed_test_logs + name: test_logs + path: ${{ github.workspace }}/adamant_example/build if-no-files-found: ignore - run: echo "Finished with status - ${{ job.status }}." if: always()