mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[ops] use GitHub action to build project
This commit is contained in:
parent
f75a3bd923
commit
f63bea8ade
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user