Skip to content

Commit

Permalink
Update CI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Mar 17, 2024
1 parent f235dff commit b08e4ae
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties
printf "org.gradle.parallel=false\n" >> ~/.gradle/gradle.properties
shell: bash

- uses: gradle/actions/setup-gradle@v3

- uses: gradle/wrapper-validation-action@v2
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties
printf "org.gradle.parallel=false\n" >> ~/.gradle/gradle.properties
shell: bash

- uses: gradle/actions/setup-gradle@v3

- run: ./gradlew assembleRelease -m
Expand All @@ -40,7 +48,7 @@ jobs:
if: github.event_name == 'pull_request'
uses: usefulness/dependency-tree-diff-action@v2
with:
project: 'rootbeerlib-core'
project: 'rootbeer-core'
configuration: releaseRuntimeClasspath

- uses: peter-evans/find-comment@v3
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties
printf "org.gradle.parallel=false\n" >> ~/.gradle/gradle.properties
shell: bash

- uses: gradle/actions/setup-gradle@v3

- run: ./gradlew assemble
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/run_diffuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
distribution: 'temurin'
java-version: 21

- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties
printf "org.gradle.parallel=false\n" >> ~/.gradle/gradle.properties
shell: bash

- uses: gradle/actions/setup-gradle@v3

- run: ./gradlew assembleRelease
Expand Down

0 comments on commit b08e4ae

Please sign in to comment.