Skip to content

Commit

Permalink
Reduce log size and free up disk space on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Aug 15, 2023
1 parent af5a4ea commit 6a1fefb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Free disk space ubuntu
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
large-packages: false
- name: Checkout ci.common
uses: actions/checkout@v3
with:
Expand Down
5 changes: 2 additions & 3 deletions liberty-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
<profiles>
<profile>offline-its</profile>
</profiles>
<streamLogs>true</streamLogs>
<streamLogsOnFailures>true</streamLogsOnFailures>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -177,11 +177,10 @@
<runtimeKernelId>${runtimeKernelId}</runtimeKernelId>
<runtimeVersion>${runtimeVersion}</runtimeVersion>
</properties>
<streamLogs>true</streamLogs>
<profiles>
<profile>online-its</profile>
</profiles>
<streamLogs>true</streamLogs>
<streamLogsOnFailures>true</streamLogsOnFailures>
<mavenOpts>-Dfile.encoding=UTF-8</mavenOpts>
</configuration>
<executions>
Expand Down

0 comments on commit 6a1fefb

Please sign in to comment.