From b96618e977fbc825ae4682eadb4c2922e7261d5b Mon Sep 17 00:00:00 2001 From: Rostislav Svoboda Date: Mon, 2 Sep 2024 11:34:03 +0200 Subject: [PATCH] Bump versions of used actions --- .github/workflows/ci.yaml | 83 +++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 42 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5d319fe9..4e91c235 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,7 +161,6 @@ 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 @@ -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