Skip to content

Commit

Permalink
change setup-graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Mar 25, 2023
1 parent 2277c7d commit 6b6946b
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/downstream-maven-plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,18 @@ jobs:
# GAPIC library that doesn't use a real GCP project in integration tests
- java-orgpolicy
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.1
- uses: ayltai/setup-graalvm@v1
with:
java-version: ${{matrix.java}}
# When a new version of native-maven-plugin fails to run in a downstream
# library, it's likely to be an incompatibility with the GraalVM version.
# In that case, you need to upgrade the Docker container used in the
# tests in the downstream repositories (not just this value below).
# Example: https://github.com/googleapis/testing-infra-docker/pull/195
graalvm-version: 22.3.0
native-image: true
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
# When a new version of native-maven-plugin fails to run in a downstream
# library, it's likely to be an incompatibility with the GraalVM version.
# In that case, you need to upgrade the Docker container used in the
# tests in the downstream repositories (not just this value below).
# Example: https://github.com/googleapis/testing-infra-docker/pull/195
version: '22.3.1'
java-version: ${{matrix.java}}
components: 'native-image'
cache: 'maven'
- run: java -version
- run: sudo apt-get update -y
- run: sudo apt-get install libxml2-utils
Expand Down

0 comments on commit 6b6946b

Please sign in to comment.