Skip to content

Update comments, Enable shaded jar, Fix workflow on PRs #56

Update comments, Enable shaded jar, Fix workflow on PRs

Update comments, Enable shaded jar, Fix workflow on PRs #56

Workflow file for this run

name: Continuous
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run the Maven verify phase
run: mvn verify jacoco:report -e --update-snapshots --no-transfer-progress
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Report Coveralls
uses: coverallsapp/github-action@v2
- run: mkdir staging && cp target/*.jar staging
- uses: actions/upload-artifact@v4
with:
name: Package
path: staging
- name: Publish package
if: "${{ github.head_ref == '' }}"
run: mvn deploy -Dmaven.install.skip=true --no-transfer-progress
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}