Skip to content

Bump actions/setup-java from 3 to 4 (#203) #104

Bump actions/setup-java from 3 to 4 (#203)

Bump actions/setup-java from 3 to 4 (#203) #104

Workflow file for this run

name: CI
on:
push:
branches: [ master, viz-engine ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
server-id: ossrh
server-username: OSSRH_USER
server-password: OSSRH_PASS
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Publish package
run: mvn -B -Djava.awt.headless=true deploy -P release
env:
OSSRH_USER: ${{ secrets.OSSRH_TOKEN_USER }}
OSSRH_PASS: ${{ secrets.OSSRH_TOKEN_PASSWD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Submit test coverage to Coveralls
run: mvn test jacoco:report coveralls:report -DrepoToken=${{ secrets.COVERALLS_TOKEN }}