[ops] use GitHub action to build project

This commit is contained in:
Yukino 2020-06-01 12:18:05 +08:00 committed by GitHub
parent f75a3bd923
commit f63bea8ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,3 +22,9 @@ jobs:
java-version: 1.8
- name: Build with Maven
run: mvn -B clean package -Pdev -DskipTests --file pom.xml
- name: upload build result
run: mkdir staging && cp oh-my-scheduler-server/target/*.jar staging && cp oh-my-scheduler-client/target/*.jar staging && cp oh-my-scheduler-worker-agent/target/*.jar staging
- uses: actions/upload-artifact@v1
with:
name: Package
path: staging