Skip to content

Merge pull request #112 from julianuphoff/support-ipv6-addresses #4

Merge pull request #112 from julianuphoff/support-ipv6-addresses

Merge pull request #112 from julianuphoff/support-ipv6-addresses #4

Workflow file for this run

name: Maven Package
on:
release:
types: [released]
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/setup-java@v1
with:
java-version: 18
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: Test
run: mvn clean test
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}