Browse Source

[ops] use GitHub action to build project

Yukino 4 năm trước cách đây
mục cha
commit
f63bea8ade
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      .github/workflows/maven.yml

+ 6 - 0
.github/workflows/maven.yml

@@ -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