Skip to content

18.1.0 [2024-10]

18.1.0 [2024-10] #49

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@v4
with:
submodules: true
- name: Install Ruby
uses: ruby/setup-ruby@v1
- name: Install JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- 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 }}