Skip to content

Commit

Permalink
Bump versions of used actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvoboda committed Sep 2, 2024
1 parent 96b9975 commit b96618e
Showing 1 changed file with 41 additions and 42 deletions.
83 changes: 41 additions & 42 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -46,49 +46,49 @@ 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
strategy:
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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b96618e

Please sign in to comment.