mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 03:42:07 +08:00
新增build-all.yml
This commit is contained in:
28
.github/workflows/build-all.yml
vendored
Normal file
28
.github/workflows/build-all.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: Build All
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ "master" ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '11'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: maven
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: '12.22.12'
|
||||||
|
- name: Build with Maven
|
||||||
|
run: mvn -U clean package -Dmaven.test.skip=true
|
||||||
|
|
||||||
Reference in New Issue
Block a user