瀏覽代碼

Create maven.yml

Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
tags/V1_9_7M1
Lars Grefer 3 年之前
父節點
當前提交
0377c66272
共有 1 個檔案被更改,包括 26 行新增0 行删除
  1. 26
    0
      .github/workflows/maven.yml

+ 26
- 0
.github/workflows/maven.yml 查看文件

@@ -0,0 +1,26 @@
# 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: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
java: [ 1.8, 11 ]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml

Loading…
取消
儲存