From a676242689962affeb56d63c7d8843cac7446b0f Mon Sep 17 00:00:00 2001 From: yash-zededa <126680600+yash-zededa@users.noreply.github.com> Date: Wed, 2 Aug 2023 12:05:19 +0200 Subject: [PATCH] Fix working-directory syntax for the Collect info task (#885) Signed-off-by: yash-zededa --- .github/actions/collect-info/action.yml | 3 ++- .github/actions/run-eden-test/action.yml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/collect-info/action.yml b/.github/actions/collect-info/action.yml index a3bb07df8..289525008 100644 --- a/.github/actions/collect-info/action.yml +++ b/.github/actions/collect-info/action.yml @@ -4,7 +4,7 @@ description: 'Collect debug info using EVE script executed via ssh and store dow runs: using: 'composite' steps: - - name: Collect info + - name: Collect info run: | # Give EVE 5 minutes at most to enable ssh access (if tests failed early). for i in $(seq 60); do ./eden eve ssh && break || sleep 5; done @@ -17,3 +17,4 @@ runs: mv eve-info-* eve-info.tar.gz ||\ echo "failed to collect info" shell: bash + working-directory: "./eden" diff --git a/.github/actions/run-eden-test/action.yml b/.github/actions/run-eden-test/action.yml index 8847b88a8..042650887 100644 --- a/.github/actions/run-eden-test/action.yml +++ b/.github/actions/run-eden-test/action.yml @@ -30,14 +30,12 @@ runs: - name: Collect info if: failure() uses: ./eden/.github/actions/collect-info - working-directory: "./eden" - name: Collect logs if: always() uses: ./eden/.github/actions/publish-logs with: file_system: ${{ inputs.file_system }} tpm_enabled: ${{ inputs.tpm_enabled }} - working-directory: "./eden" - name: Clean up after test if: always() run: |