Files
caro/.github/workflows/Build.yml
T
Workflow config file is invalid. Please check your config file: map should only for workflow_dispatch but pull_request

80 lines
2.0 KiB
YAML

# 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(Java with Maven)
on:
push:
branches:
- master
- feature/*
paths-ignore:
- '**/*.md'
- .gitignore
- .editorconfig
- appveyor.yml
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
pull_request:
branches:
- master
- feature/*
- release/*
paths-ignore:
- '**/*.md'
- .gitignore
- .editorconfig
- appveyor.yml
- 'azure-pipelines*.yml'
- 'ci/azure-pipelines/template*.yml'
jobs:
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:
- 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