Skip to content

18.0.0 [2024-07]

18.0.0 [2024-07] #48

Workflow file for this run

name: Deploy to Maven Central
on:
release:
types:
- published
workflow_dispatch:
jobs:
build:
environment:
name: Central Repository Deployment
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: true
- name: Install Ruby
uses: ruby/setup-ruby@v1
- name: Install JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Publish Package
working-directory: ./MobileBuy
run: ./gradlew buy3:uploadArchives
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKeyId: ${{ secrets.OSSRH_GPG_SECRET_KEY_ID }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}