mirror of
https://github.com/tiennm99/caro.git
synced 2026-10-03 05:19:23 +00:00
Update and rename WindowsBuild.yml to Build.yml
This commit is contained in:
1 parent
8e89cb7e2e
commit
b4130e4ac9
1 file changed
+35
-5
@@ -1,7 +1,7 @@
|
||||
# This workflow will build a Java project with Maven
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
|
||||
|
||||
name: Build ratel on Windows(Java with Maven)
|
||||
name: Build ratel(Java with Maven)
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -30,8 +30,38 @@ on:
|
||||
- 'ci/azure-pipelines/template*.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build on windows
|
||||
Build_macos:
|
||||
name: Build on macos
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1.4.3
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build ratel (with Maven)
|
||||
run: |
|
||||
mvn install package
|
||||
#- name: Test Server
|
||||
# run: java -jar landlords-server/target/landlords-server-#{{version}}.jar -p 1024
|
||||
Build_Linux:
|
||||
name: Build on ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1.4.3
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build ratel (with Maven)
|
||||
run: |
|
||||
mvn install package
|
||||
#- name: Test Server
|
||||
# run: java -jar landlords-server/target/landlords-server-#{{version}}.jar -p 1024
|
||||
build_Windows:
|
||||
name: Build on Windows
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
@@ -43,7 +73,7 @@ jobs:
|
||||
- name: Build ratel (with Maven)
|
||||
run: |
|
||||
mvn install package
|
||||
- name: Test Server
|
||||
run: java -jar landlords-server/target/landlords-server-#{{version}}.jar -p 1024
|
||||
#- name: Test Server
|
||||
# run: java -jar landlords-server/target/landlords-server-#{{version}}.jar -p 1024
|
||||
|
||||
|
||||
Reference in new issue
Block a user