mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#3876: Move Windows and Mac OS builds outside of the main workflow
This commit is contained in:
parent
ce84c81de2
commit
9847eaf195
20
.github/workflows/macos.yml
vendored
Normal file
20
.github/workflows/macos.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Mac OS CI
|
||||
|
||||
on: push
|
||||
|
||||
env:
|
||||
MAVEN_ARGS: -V -B --no-transfer-progress -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
|
||||
jobs:
|
||||
mac:
|
||||
name: 'Mac OS'
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'Set up JDK 21'
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
- name: 'Test'
|
||||
run: ./mvnw ${MAVEN_ARGS} install
|
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
@ -58,27 +58,3 @@ jobs:
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: 'Run integration tests'
|
||||
run: ./mvnw ${MAVEN_ARGS} verify -pl integrationtest
|
||||
windows:
|
||||
name: 'Windows'
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'Set up JDK 21'
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
- name: 'Test'
|
||||
run: ./mvnw %MAVEN_ARGS% install
|
||||
mac:
|
||||
name: 'Mac OS'
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: 'Set up JDK 21'
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
- name: 'Test'
|
||||
run: ./mvnw ${MAVEN_ARGS} install
|
||||
|
20
.github/workflows/windows.yml
vendored
Normal file
20
.github/workflows/windows.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Windows CI
|
||||
|
||||
on: push
|
||||
|
||||
env:
|
||||
MAVEN_ARGS: -V -B --no-transfer-progress -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
name: 'Windows'
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: 'Set up JDK 21'
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'zulu'
|
||||
java-version: 21
|
||||
- name: 'Test'
|
||||
run: ./mvnw %MAVEN_ARGS% install
|
Loading…
x
Reference in New Issue
Block a user