File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 2020 distribution : ' temurin'
2121 java-version : ' 21'
2222 - name : Compile with Maven
23- run : mvn clean compile
23+ run : |
24+ if [[ "${{ runner.os }}" == "Linux" ]]; then
25+ mvn clean compile -Dos.version=linux-x86_64
26+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
27+ mvn clean compile -Dos.version=macosx-x86_64
28+ fi
2429 - name : Validate Maven Project
25- run : mvn validate
30+ run : |
31+ if [[ "${{ runner.os }}" == "Linux" ]]; then
32+ mvn validate -Dos.version=linux-x86_64
33+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
34+ mvn validate -Dos.version=macosx-x86_64
35+ fi
2636 - name : Package with Maven (Fat JAR)
27- run : mvn clean package
37+ run : |
38+ if [[ "${{ runner.os }}" == "Linux" ]]; then
39+ mvn clean package -Dos.version=linux-x86_64
40+ elif [[ "${{ runner.os }}" == "macOS" ]]; then
41+ mvn clean package -Dos.version=macosx-x86_64
42+ fi
You can’t perform that action at this time.
0 commit comments