Skip to content

Commit

Permalink
add maven build
Browse files Browse the repository at this point in the history
  • Loading branch information
brokiem committed Jun 16, 2021
1 parent 2d17628 commit b6a0fec
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [ push, pull_request ]

jobs:
build:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[ci skip]') }}
strategy:
matrix:
java: [ '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
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: Barrel
path: target/Barrel-1.0.0-SNAPSHOT.jar

0 comments on commit b6a0fec

Please sign in to comment.