File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -599,6 +599,23 @@ jobs:
599
599
exit 1
600
600
fi
601
601
602
+ # We don't need to encrypt these as they are not sensitive if the repo is public anyway.
603
+ # https://github.com/actions/upload-artifact
604
+ - name : Upload build logs
605
+ uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
606
+ # always upload build logs, even if the build fails
607
+ if : always()
608
+ with :
609
+ name : build-logs
610
+ if-no-files-found : error
611
+ retention-days : 7
612
+ compression-level : 7
613
+ path : |
614
+ balena-build.log
615
+ build/tmp/log/**/*.log
616
+ build/tmp/work/**/run.*
617
+ build/tmp/work/**/log.*
618
+
602
619
# If there was a cache miss for this key, save a new cache.
603
620
# Use local S3 cache on self-hosted runners.
604
621
# https://github.com/tespkg/actions-cache
You can’t perform that action at this time.
0 commit comments