Skip to content

Update to a V3 only SDK (#312) #132

Update to a V3 only SDK (#312)

Update to a V3 only SDK (#312) #132

Workflow file for this run

name: Release XMTP Android Package
on:
push:
branches:
- release
jobs:
library:
name: Release Library
runs-on: ubuntu-latest
steps:
- name: Checkout project sources
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure JDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run build with Gradle Wrapper
run: ./gradlew build
- name: Tag version 3.0.0
run: |
git tag 3.0.0
git push origin 3.0.0
- name: Create a GitHub release for version 3.0.0
uses: ncipollo/release-action@v1
with:
tag: "3.0.0"
name: "Release 3.0.0"
body: "A XMTP MLS only SDK 3.0.0"
- name: Gradle Publish
env:
RELEASE_VERSION: "3.0.0"
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
SIGN_KEY: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
SIGN_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
MAVEN_PROFILE_ID: ${{ secrets.MAVEN_PROFILE_ID }}
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository