Skip to content

add logo

add logo #7

Workflow file for this run

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Maven Package
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Restore Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: restore
uses:
- name: Package
run: mvn -B package --file pom.xml
- name: Save Maven cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save
uses:
# - name: Release
# uses: actions/create-release@v1
# env:
# uses:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# uses:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# draft: false
# prerelease: false
- name: Publish
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}