mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-17 19:35:00 -04:00
build on macos
This commit is contained in:
parent
a4862abe13
commit
5db30cd04b
20
.github/workflows/maven.yml
vendored
20
.github/workflows/maven.yml
vendored
@ -5,7 +5,7 @@ name: Java CI with Maven
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ master, macos-build ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
@ -54,3 +54,21 @@ jobs:
|
||||
with:
|
||||
name: minosoft-win64
|
||||
path: target/Minosoft-*.jar
|
||||
build-mac:
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
cache: maven
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
- name: Upload macOS build
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: macos-build
|
||||
path: target/Minosoft-*.jar
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user