Skip to content

Commit

Permalink
fix: dump logs with test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Oct 3, 2024
1 parent eae82c4 commit 0398b12
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,19 @@ jobs:
- name: Dump enclave logs
if: failure()
run: kurtosis dump ./dump

- name: Generate archive name
run: |
file_name=$(basename "${{ matrix.file_name }}" ".yml")
archive_name="dump_run_with_args_${file_name}_${{ github.run_id }}"
echo "ARCHIVE_NAME=${archive_name}" >> "$GITHUB_ENV"
echo "Generated archive name: ${archive_name}"
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: dump_run_with_args_${{ matrix.file_name }}_${{ github.run_id }}
name: ${{ env.ARCHIVE_NAME }}
path: ./dump

additional_services:
Expand Down

0 comments on commit 0398b12

Please sign in to comment.