Skip to content

Version 1.0.0

Version 1.0.0 #18

Workflow file for this run

name: Publish package to GitHub Packages
on:
push:
branches: [master]
release:
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 17
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Publish package
run: mvn --batch-mode deploy -f src/pom.xml -P all
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}