Skip to content

Commit b918165

Browse files
committed
feat(ci): archive native logs in case of failure
Signed-off-by: Chris Laprun <[email protected]>
1 parent b797d10 commit b918165

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-for-quarkus-version.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ jobs:
268268
# Delete namespace
269269
kubectl delete namespace $K8S_NAMESPACE
270270
271+
- name: Archive native application logs
272+
uses: actions/upload-artifact@v1
273+
if: failure()
274+
with:
275+
name: native.log
276+
path: samples/joke/native.log
277+
271278
- name: Run Joke sample into Kubernetes using OLM
272279
run: |
273280
SCRIPTS=$(pwd)/.github/scripts

0 commit comments

Comments
 (0)