Skip to content

Commit 1afbd20

Browse files
committed
Fix MacOS build
1 parent 0091570 commit 1afbd20

File tree

1 file changed

+15
-20
lines changed

1 file changed

+15
-20
lines changed

.github/workflows/workflow.yml

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,26 +25,6 @@ jobs:
2525
token: ${{ secrets.CODECOV_TOKEN }}
2626
fail_ci_if_error: true
2727

28-
build_jdk_temurin_8_mac:
29-
runs-on: macos-latest
30-
steps:
31-
# Checks-out the repository under $GITHUB_WORKSPACE
32-
- uses: actions/checkout@v4
33-
# Set up Java 8
34-
- name: Set up JDK 8
35-
uses: actions/setup-java@v4
36-
with:
37-
distribution: 'temurin'
38-
java-version: '8'
39-
cache: 'maven'
40-
- name: Build
41-
run: mvn dependency:go-offline install
42-
- name: Upload to Codecov
43-
uses: codecov/codecov-action@v3.1.0
44-
with:
45-
token: ${{ secrets.CODECOV_TOKEN }}
46-
fail_ci_if_error: true
47-
4828
build_jdk_semeru_8:
4929
runs-on: ubuntu-latest
5030
steps:
@@ -109,6 +89,21 @@ jobs:
10989
- name: Build
11090
run: mvn dependency:go-offline install -Dmaven.javadoc.skip=true -DargLine="-Duser.language=de -Duser.country=DE"
11191

92+
build_jdk_temurin_mac:
93+
runs-on: macos-latest
94+
steps:
95+
# Checks-out the repository under $GITHUB_WORKSPACE
96+
- uses: actions/checkout@v4
97+
# Set up Java 21
98+
- name: Set up JDK 21
99+
uses: actions/setup-java@v4
100+
with:
101+
distribution: 'temurin'
102+
java-version: '21'
103+
cache: 'maven'
104+
- name: Build
105+
run: mvn dependency:go-offline install
106+
112107
build_android:
113108
runs-on: ubuntu-latest
114109
steps:

0 commit comments

Comments
 (0)