Skip to content

Merge pull request #3 from kmoco2am/feature/fixes #3

Merge pull request #3 from kmoco2am/feature/fixes

Merge pull request #3 from kmoco2am/feature/fixes #3

Workflow file for this run

name: Main branch publish
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}