Skip to content

Merge remote-tracking branch 'origin/master' #49

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #49

Workflow file for this run

name: Build
on:
push:
branches: "master"
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- run: ./gradlew publishGprPublicationToGitHubPackagesRepository
if: github.event_name == 'release' && github.event.action == 'created'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
if: github.event_name == 'release' && github.event.action == 'created'
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }}
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_PW: ${{ secrets.SIGN_PW }}