Skip to content

Added Maven release to GH repository (GH actions) #5

Added Maven release to GH repository (GH actions)

Added Maven release to GH repository (GH actions) #5

Workflow file for this run

name: GitHub CI
on:
push:
branches:
- master
- enioka/release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'zulu'
cache: maven
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
- name: Publish package to local GH repository
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}