Skip to content

Merge pull request #13 from svt/more-props #7

Merge pull request #13 from svt/more-props

Merge pull request #13 from svt/more-props #7

name: Publish
on:
push:
tags:
- "release-[0-9]+.[0-9]+.[0-9]+"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: adopt
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: clean build -PrunIntegrationTest=false
- name: OSSRH Upload
env:
YAPP_MAVENPUBLISHING_USER: ${{ secrets.SONATYPE_USER }}
YAPP_MAVENPUBLISHING_PASSWORD: ${{ secrets.SONATYPE_PWD }}
YAPP_SIGNING_KEYID: ${{ secrets.SIGNING_KEY_ID }}
YAPP_SIGNING_KEYSECRET: ${{ secrets.SIGNING_PWD }}
YAPP_SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
run: ./gradlew publishArtifact