mirror of
https://github.com/jlengrand/assistant-conversation-java.git
synced 2026-03-10 08:01:24 +00:00
Add first workflow
This commit is contained in:
28
.github/workflows/maven.yml
vendored
Normal file
28
.github/workflows/maven.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# Simply checks we can compile and create the jar without issue
|
||||
|
||||
name: Java CI with Maven
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 8
|
||||
- name: Install all and build with Maven
|
||||
run: |
|
||||
mvn package
|
||||
- name: package
|
||||
run: mkdir staging && cp target/*.jar staging
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: Package
|
||||
path: staging
|
||||
Reference in New Issue
Block a user