Skip to content

Prepare version 4.6.0 #4

Prepare version 4.6.0

Prepare version 4.6.0 #4

Workflow file for this run

name: Publish Release
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: macOS-latest
if: github.repository == 'CanHub/Android-Image-Cropper'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: Setup gradle
uses: gradle/gradle-build-action@v2
- name: Publish release
run: ./gradlew publishAllPublicationsToMavenCentralRepository
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}