Skip to content

v5.3.3

v5.3.3 #29

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
publish:
name: Release build and publish
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: refs/remotes/origin/master
- name: set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.m2
~/.android/build-cache
key: ${GITHUB_REF##*/}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Release build
run: ./gradlew displayVersion publishToSonatype closeAndReleaseSonatypeStagingRepository --max-workers 1 --no-daemon
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}