Skip to content

Merge pull request #3 from steadybit/dependabot/maven/ch.qos.logback-… #27

Merge pull request #3 from steadybit/dependabot/maven/ch.qos.logback-…

Merge pull request #3 from steadybit/dependabot/maven/ch.qos.logback-… #27

Workflow file for this run

name: build main
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
cache: 'maven'
server-id: 'ossrh'
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Build with Maven
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_SERVER_OSSRH_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_SERVER_OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSWORD }}
run: mvn -B deploy -Prelease