Skip to content

Maven Package

Maven Package #7

Workflow file for this run

name: Maven Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
- uses: s4u/[email protected]
with:
githubServer: false
servers: |
[{ "id": "github", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}" }, { "id": "private", "username": "${{ github.actor }}", "password": "${{ secrets.THE_TOKEN }}" }]
- name: Build with Maven
run: |
mvn --no-transfer-progress --update-snapshots -Djansi.force=true -Dstyle.color=always clean deploy