mirror of
https://github.com/nkomarn/harbor.git
synced 2025-02-26 00:21:20 +01:00
21 lines
439 B
YAML
21 lines
439 B
YAML
|
name: CI
|
||
|
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Set up JDK 1.8
|
||
|
uses: actions/setup-java@v1
|
||
|
with:
|
||
|
java-version: 1.8
|
||
|
- name: Build with Maven
|
||
|
run: mvn package --file pom.xml
|
||
|
- name: Upload Artifact
|
||
|
uses: actions/upload-artifact@v2-preview
|
||
|
with:
|
||
|
name: Harbor
|
||
|
path: target/Harbor-*.jar
|