This repository has been archived on 2021-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
envoy/.github/workflows/maven.yml

33 lines
781 B
YAML
Raw Normal View History

2020-01-11 11:58:15 +01:00
name: Java CI
on: [push]
jobs:
2020-07-13 15:37:27 +02:00
build:
name: Build & Package
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
2020-01-11 11:58:15 +01:00
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
2020-01-11 11:58:15 +01:00
uses: actions/setup-java@v1
with:
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
2020-01-11 11:58:15 +01:00
- name: Build with Maven
2020-07-13 15:37:27 +02:00
run: mvn -B package
- uses: actions/upload-artifact@v2
with:
2020-07-13 15:37:27 +02:00
name: envoy-${{ matrix.os }}
path: |
server/target/envoy-server-jar-with-dependencies.jar
client/target/envoy-client*shaded.jar