Skip to content

version 0.1.8

version 0.1.8 #3

Workflow file for this run

name: GitHub Packages
on:
release:
types: [created]
jobs:
build:
runs-on: macos-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ github.token }}
run: mvn -B install --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml -Dmaven.test.skip=true
env:
GITHUB_TOKEN: ${{ github.token }}