Skip to content

Commit

Permalink
Update GraalVM build
Browse files Browse the repository at this point in the history
  • Loading branch information
jdubois committed Nov 20, 2024
1 parent 546bcc5 commit 15ee1af
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cli-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
java-version: '23'
check-latest: false
cache: 'maven'
- name: Build with Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
java-version: '23'
check-latest: false
cache: 'maven'
- name: Build with Maven
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm'
java-version: '21'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build native image on Linux
run: native-image --enable-url-protocols=https --static -jar nubesgen-cli-*.jar nubesgen-cli-linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm'
java-version: '21'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Build application with GraalVM
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rest-server-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
java-version: '23'
check-latest: false
cache: 'maven'
- name: Run tests
Expand All @@ -58,7 +58,7 @@ jobs:
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm'
java-version: '21'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Build application with GraalVM
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rest-server-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: '21'
java-version: '23'
check-latest: false
cache: 'maven'
- name: Package the application
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: graalvm/setup-graalvm@v1
with:
distribution: 'graalvm'
java-version: '21'
java-version: '23'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
- name: Build application with GraalVM
Expand Down
2 changes: 1 addition & 1 deletion rest-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<artifactId>native-maven-plugin</artifactId>
<configuration>
<buildArgs>
<arg>--initialize-at-build-time=org.slf4j.impl.StaticLoggerBinder,org.slf4j.LoggerFactory,ch.qos.logback.classic.Logger,ch.qos.logback.core.spi.AppenderAttachableImpl,ch.qos.logback.core.status.StatusBase,ch.qos.logback.classic.Level,ch.qos.logback.core.status.InfoStatus,ch.qos.logback.classic.PatternLayout,ch.qos.logback.core.CoreConstants,ch.qos.logback.core.util.Loader,ch.qos.logback.core.util.StatusPrinter,ch.qos.logback.core.pattern.parser.Parser</arg>
<arg>--initialize-at-build-time=org.slf4j.impl.StaticLoggerBinder,org.slf4j.LoggerFactory,ch.qos.logback.classic.Logger,ch.qos.logback.core.spi.AppenderAttachableImpl,ch.qos.logback.core.status.StatusBase,ch.qos.logback.classic.Level,ch.qos.logback.core.status.InfoStatus,ch.qos.logback.classic.PatternLayout,ch.qos.logback.core.CoreConstants,ch.qos.logback.core.util.Loader,ch.qos.logback.core.util.StatusPrinter,ch.qos.logback.core.pattern.parser.Parser,ch.qos.logback.classic.spi.LogbackServiceProvider,ch.qos.logback.classic.LoggerContext,org.slf4j.helpers.NOPLoggerFactory,org.slf4j.helpers.SubstituteServiceProvider,ch.qos.logback.core.joran.spi.ConsoleTarget,ch.qos.logback.core.joran.spi.ConsoleTarget$2,ch.qos.logback.core.util.CachingDateFormatter,ch.qos.logback.core.encoder.LayoutWrappingEncoder,org.slf4j.helpers.SubstituteLoggerFactory,ch.qos.logback.classic.pattern.ThrowableProxyConverter,ch.qos.logback.classic.layout.TTLLLayout,ch.qos.logback.core.joran.spi.ConsoleTarget$1,ch.qos.logback.core.spi.ContextAwareImpl,ch.qos.logback.classic.util.ContextInitializer$1,ch.qos.logback.classic.BasicConfigurator,ch.qos.logback.classic.util.ContextInitializer,ch.qos.logback.core.spi.LogbackLock,ch.qos.logback.core.helpers.CyclicBuffer,ch.qos.logback.core.BasicStatusManager,ch.qos.logback.classic.util.LogbackMDCAdapter,ch.qos.logback.core.spi.FilterAttachableImpl,ch.qos.logback.classic.spi.TurboFilterList,ch.qos.logback.core.ConsoleAppender,ch.qos.logback.core.util.CachingDateFormatter$CacheTuple,ch.qos.logback.core.util.COWArrayList,ch.qos.logback.classic.spi.LoggerContextVO,org.slf4j.helpers.NOP_FallbackServiceProvider,com.fasterxml.jackson.core.Base64Variant,com.fasterxml.jackson.core.Base64Variant$PaddingReadBehaviour</arg>
</buildArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit 15ee1af

Please sign in to comment.