diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5d319fe9..2807a6aa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,9 +12,9 @@ jobs: matrix: java: [ 17 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -30,9 +30,9 @@ jobs: matrix: java: [ 17, 21 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -46,39 +46,39 @@ jobs: run: | zip -r artifacts-jvm${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*' - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ci-artifacts path: artifacts-jvm${{ matrix.java }}.zip linux-build-released-native: - name: Linux - Native build - runs-on: ubuntu-latest - strategy: - matrix: - java: [ 17 ] - steps: - - uses: actions/checkout@v3 - - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: ${{ matrix.java }} - check-latest: true - cache: 'maven' - - name: Build with Maven - run: | - mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags=product,codequarkus -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=docker -Dgh.actions - - name: Zip Artifacts - if: failure() - run: | - zip -r artifacts-native${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*' - - name: Archive artifacts - uses: actions/upload-artifact@v3 - if: failure() - with: - name: ci-artifacts - path: artifacts-native${{ matrix.java }}.zip + name: Linux - Native build + runs-on: ubuntu-latest + strategy: + matrix: + java: [ 17 ] + steps: + - uses: actions/checkout@v4 + - name: Install JDK {{ matrix.java }} + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: ${{ matrix.java }} + check-latest: true + cache: 'maven' + - name: Build with Maven + run: | + mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags=product,codequarkus -Dquarkus.native.container-build=true -Dquarkus.native.container-runtime=docker -Dgh.actions + - name: Zip Artifacts + if: failure() + run: | + zip -r artifacts-native${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*' + - name: Archive artifacts + uses: actions/upload-artifact@v4 + if: failure() + with: + name: ci-artifacts + path: artifacts-native${{ matrix.java }}.zip linux-build-code-start: name: Linux - Code Quarkus runs-on: ubuntu-latest @@ -86,9 +86,9 @@ jobs: matrix: java: [ 17, 21 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -102,7 +102,7 @@ jobs: run: | zip -r artifacts-code-start${{ matrix.java }}.zip . -i '*-reports/*' '*/archived-logs/*' - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ci-artifacts @@ -114,9 +114,9 @@ jobs: matrix: java: [ 17, 21 ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -133,7 +133,7 @@ jobs: # Disambiguate windows find from cygwin find /usr/bin/find . -name '*-reports' -o -name 'archived-logs' -type d | tar -czf artifacts-windows-jvm${{ matrix.java }}.tar -T - - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ci-artifacts @@ -147,9 +147,9 @@ jobs: graalvm-version: [ "mandrel-latest" ] graalvm-java-version: [ "21" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install JDK {{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} @@ -161,12 +161,11 @@ jobs: with: version: ${{ matrix.graalvm-version }} java-version: ${{ matrix.graalvm-java-version }} - components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - name: Configure Pagefile # Increased the page-file size due to memory-consumption of native-image command # For details see https://github.com/actions/virtual-environments/issues/785 - uses: al-cheb/configure-pagefile-action@v1.3 + uses: al-cheb/configure-pagefile-action@v1.4 - name: Build with Maven run: | mvn -V -B -s .github/mvn-settings.xml clean verify -DincludeTags="native" -DexcludeTags="product,codequarkus" -Dquarkus.native.native-image-xmx=6g -Dgh.actions @@ -178,7 +177,7 @@ jobs: # Disambiguate windows find from cygwin find /usr/bin/find . -name '*-reports' -o -name 'archived-logs' -type d | tar -czf artifacts-windows-native${{ matrix.java }}.tar -T - - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: ci-artifacts diff --git a/pom.xml b/pom.xml index f8dada33..0ff6ab61 100644 --- a/pom.xml +++ b/pom.xml @@ -7,9 +7,9 @@ pom Quarkus StartStop TS: Parent - 3.13.2 + 3.14.1 io.quarkus - 3.13.2 + 3.14.1 17 17 17