Skip to content

1.5.10 New extensions #31

1.5.10 New extensions

1.5.10 New extensions #31

name: "scheduler: publish (maven)"
on:
release:
types: [published]
jobs:
publish-maven:
runs-on: ubuntu-latest
if: contains(github.ref, 'scheduler') || contains(github.ref, 'all')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt-hotspot'
#Decode key ring file from secrets and put it to ~/.gradle/
- name: Decode
run: 'echo "${{secrets.SIGNING_SECRET_KEY_RING_FILE}}" | base64 -d > secring.gpg'
- uses: eskatos/gradle-command-action@v1
with:
arguments: :scheduler:publish -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{ secrets.SIGNING_PASSWORD }} -Psigning.secretKeyRingFile=../secring.gpg
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}