Skip to content

Fixed #160

Fixed #160 #33

Workflow file for this run

name: Snapshot
on:
push:
branches:
- "master"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Chache
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build Jar
run: mvn --batch-mode clean package -P cli
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy Jar
run: mvn --batch-mode deploy -Djacoco.skip=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}