Skip to content

Commit

Permalink
Use tee for logs
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Schmitz von Hülst <[email protected]>
  • Loading branch information
moritzschmitz-oviva committed Feb 19, 2024
1 parent 56fa0de commit b71d80a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: kubectl apply -f .github/tests/java-spiffe-helper.yaml
- run: kubectl wait pod/java-spiffe-helper --for condition=Ready --timeout=90s
- if: ${{ failure() }}
run: kubectl logs pod/java-spiffe-helper > java-spiffe-helper.log
run: kubectl logs pod/java-spiffe-helper | tee java-spiffe-helper.log
- if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit b71d80a

Please sign in to comment.