Update and rename WindowsBuild.yml to Build.yml

This commit is contained in:
EldersJavas authored and GitHub committed 2021-01-02 15:19:43 +08:00
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