Skip to content

Commit

Permalink
APPEALS-51230: Add tmp/examples.txt to Github Actions artifacts (#22124)
Browse files Browse the repository at this point in the history
* add examples.txt to gha workflow

* rename examples and bullet files even if failure
  • Loading branch information
craigrva authored Jul 15, 2024
1 parent d2ad76e commit 95fec6f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@ jobs:
with:
path: ./tmp/capybara

- name: Rename examples.txt
if: success() || failure()
run: mv ./tmp/examples.txt ./tmp/examples-${{matrix.ci_node_index}}.txt
- uses: actions/upload-artifact@v3
if: success() || failure()
name: Upload tmp/examples.txt
with:
path: ./tmp/examples-${{matrix.ci_node_index}}.txt

- name: Compress test logs
if: failure()
run: tar -czvf ./log/test-${{matrix.ci_node_index}}.log.tar.gz ./log/test.log
Expand All @@ -243,7 +252,9 @@ jobs:
with:
path: ./log/test-${{matrix.ci_node_index}}.log.tar.gz

- run: cp ./log/bullet.log ./log/bullet-${{matrix.ci_node_index}}.log
- name: Rename bullet.log
if: success() || failure()
run: mv ./log/bullet.log ./log/bullet-${{matrix.ci_node_index}}.log
- uses: actions/upload-artifact@v3
if: success() || failure()
name: bullet-${{matrix.ci_node_index}}.log
Expand Down

0 comments on commit 95fec6f

Please sign in to comment.