Skip to content

Commit 28a9cf1

Browse files
committed
Update CI
1 parent c2a7b26 commit 28a9cf1

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,14 @@ permissions:
2121

2222
jobs:
2323
build:
24-
runs-on: ${{ matrix.os }}
24+
runs-on: 'ubuntu-22.04'
2525
strategy:
2626
fail-fast: false
2727
matrix:
2828
java_version: ['8', '11', '17', '21', '22']
29-
os: ['ubuntu-22.04']
3029
include:
3130
- java_version: '8'
32-
os: 'ubuntu-22.04'
3331
release_build: 'R'
34-
- java_version: '8'
35-
os: 'windows-latest'
3632
is_windows: 'W'
3733
env:
3834
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
@@ -55,7 +51,7 @@ jobs:
5551
- name: Extract project Maven version
5652
id: projectVersion
5753
if: ${{ !matrix.is_windows }}
58-
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.4.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
54+
run: echo "version=$(./mvnw org.apache.maven.plugins:maven-help-plugin:3.5.1:evaluate -DforceStdout -Dexpression=project.version -q)" >> $GITHUB_OUTPUT
5955
- name: Verify Android SDK Compatibility
6056
if: ${{ matrix.release_build }}
6157
run: ./mvnw -B -q -ff -ntp -DskipTests animal-sniffer:check

0 commit comments

Comments
 (0)