This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push:
new 1254ad6 Fix CI
1254ad6 is described below
commit 1254ad6f710a568cfdb33115ba3c268cfb52bc8c
Author: Guillaume Nodet <[email protected]>
AuthorDate: Mon Apr 11 13:44:53 2022 +0200
Fix CI
---
.github/workflows/early-access.yaml | 21 ++++++++++++++++-----
.github/workflows/release-candidate-stage1.yml | 21 ++++++++++++++++-----
.github/workflows/release-candidate-stage2.yml | 2 +-
.github/workflows/release.yaml | 21 ++++++++++++++++-----
pom.xml | 2 +-
5 files changed, 50 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/early-access.yaml
b/.github/workflows/early-access.yaml
index 790c469..3fb01fb 100644
--- a/.github/workflows/early-access.yaml
+++ b/.github/workflows/early-access.yaml
@@ -24,7 +24,7 @@ on:
pull_request:
env:
- GRAALVM_VERSION: '21.3.0'
+ GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -35,6 +35,14 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
+ gu-binary: [gu, gu.cmd]
+ exclude:
+ - os: ubuntu-latest
+ gu-binary: gu.cmd
+ - os: macos-latest
+ gu-binary: gu.cmd
+ - os: windows-latest
+ gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -52,10 +60,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/[email protected]
with:
- version: ${{ env.GRAALVM_VERSION }}
- java: java${{ env.JAVA_VERSION }}
- components: 'native-image'
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ graalvm: '${{ env.GRAALVM_VERSION }}'
+ java: 'java${{ env.JAVA_VERSION }}'
+ personal-token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Install native-image component
+ run: |
+ ${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
diff --git a/.github/workflows/release-candidate-stage1.yml
b/.github/workflows/release-candidate-stage1.yml
index 77ba7c5..ed5df0a 100644
--- a/.github/workflows/release-candidate-stage1.yml
+++ b/.github/workflows/release-candidate-stage1.yml
@@ -22,7 +22,7 @@ on:
workflow_dispatch:
env:
- GRAALVM_VERSION: '21.3.0'
+ GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -32,6 +32,14 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
+ gu-binary: [gu, gu.cmd]
+ exclude:
+ - os: ubuntu-latest
+ gu-binary: gu.cmd
+ - os: macos-latest
+ gu-binary: gu.cmd
+ - os: windows-latest
+ gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -49,10 +57,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/[email protected]
with:
- version: ${{ env.GRAALVM_VERSION }}
- java: java${{ env.JAVA_VERSION }}
- components: 'native-image'
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ graalvm: '${{ env.GRAALVM_VERSION }}'
+ java: 'java${{ env.JAVA_VERSION }}'
+ personal-token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Install native-image component
+ run: |
+ ${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
diff --git a/.github/workflows/release-candidate-stage2.yml
b/.github/workflows/release-candidate-stage2.yml
index cbd57e1..ecc74d9 100644
--- a/.github/workflows/release-candidate-stage2.yml
+++ b/.github/workflows/release-candidate-stage2.yml
@@ -24,7 +24,7 @@ on:
- '!early-access'
env:
- GRAALVM_VERSION: '21.3.0'
+ GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 862ff55..e62d817 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -22,7 +22,7 @@ on:
workflow_dispatch:
env:
- GRAALVM_VERSION: '21.3.0'
+ GRAALVM_VERSION: '22.0.0.2'
JAVA_VERSION: '17'
jobs:
@@ -32,6 +32,14 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-18.04, macOS-10.15, windows-2019 ]
+ gu-binary: [gu, gu.cmd]
+ exclude:
+ - os: ubuntu-latest
+ gu-binary: gu.cmd
+ - os: macos-latest
+ gu-binary: gu.cmd
+ - os: windows-latest
+ gu-binary: gu
runs-on: ${{ matrix.os }}
steps:
@@ -49,10 +57,13 @@ jobs:
- name: 'Set up Graal'
uses: DeLaGuardo/[email protected]
with:
- version: ${{ env.GRAALVM_VERSION }}
- java: java${{ env.JAVA_VERSION }}
- components: 'native-image'
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ graalvm: '${{ env.GRAALVM_VERSION }}'
+ java: 'java${{ env.JAVA_VERSION }}'
+ personal-token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Install native-image component
+ run: |
+ ${{ matrix.gu-binary }} install native-image
- name: 'Build native distribution'
run: ./mvnw clean verify -Pnative -Dmrm=false -B -ntp -e
diff --git a/pom.xml b/pom.xml
index 16b2253..17fba63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -48,7 +48,7 @@
<apiguardian-api.version>1.0.0</apiguardian-api.version>
<assertj.version>3.16.1</assertj.version>
<commons-compress.version>1.21</commons-compress.version>
- <graalvm.version>21.3.0</graalvm.version>
+ <graalvm.version>22.0.0.2</graalvm.version>
<graalvm.plugin.version>21.2.0</graalvm.plugin.version>
<groovy.version>3.0.9</groovy.version>
<jakarta.inject.version>1.0</jakarta.inject.version>