From 3729a6007d156aed0029432bc65c4e17f0b02e75 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Sat, 1 Jun 2024 19:56:02 -0600 Subject: [PATCH] Fix test image path Signed-off-by: Ethan Dye --- .github/workflows/test-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 35c62b6..2353b82 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -39,12 +39,12 @@ jobs: - name: Build image run: | sudo -E ./tests/image.bash "setup" "${{ steps.setup.outputs.imagexz }}" "${{ steps.setup.outputs.image }}" - cp "${{ steps.setup.outputs.image }}" raspios.img + cp "${{ steps.setup.outputs.image }}" $RUNNER_TEMP/raspios.img shell: bash - name: Run tests uses: pguyot/arm-runner-action@v2 with: - base_image: file://raspios.img + base_image: file://$RUNNER_TEMP/raspios.img cpu: cortex-a7 cpu_info: cpuinfo/raspberrypi_3b commands: | @@ -52,7 +52,7 @@ jobs: shell: bash - name: Copy logs if: always() - run: sudo ./tests/image.bash "copy-logs" "raspios.img" + run: sudo ./tests/image.bash "copy-logs" "$RUNNER_TEMP/raspios.img" - name: Upload logs if: always() uses: actions/upload-artifact@v4