Skip to content

Commit

Permalink
Fix working-directory syntax for the Collect info task (lf-edge#885)
Browse files Browse the repository at this point in the history
Signed-off-by: yash-zededa <yash@zededa.com>
  • Loading branch information
yash-zededa authored Aug 2, 2023
1 parent 276827b commit a676242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/actions/collect-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -17,3 +17,4 @@ runs:
mv eve-info-* eve-info.tar.gz ||\
echo "failed to collect info"
shell: bash
working-directory: "./eden"
2 changes: 0 additions & 2 deletions .github/actions/run-eden-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit a676242

Please sign in to comment.