Skip to content

Publish New Version

Publish New Version #2

name: Publish New Version
on:
workflow_dispatch:
inputs:
bump:
type: choice
description: "Type of version bump to perform"
options:
- patch
- minor
- major
jobs:
pre_release_check:
name: Pre release check
runs-on: ubuntu-24.04
environment: 'publish'
steps:
- name: Check
id: pre_release_check_step
run: echo "Pre release check"
publish:
needs: pre_release_check
uses: GetStream/android-ci-actions/.github/workflows/release-new-version.yml@main
with:
ref: "develop"
bump: ${{ inputs.bump }}
file-path: ./buildSrc/src/main/kotlin/io/getstream/chat/android/ai/Configuration.kt
excluded-modules: "stream-chat-android-ai-compose-sample"
use-official-plugin: false
# Disable explicit documentation tasks as they are already included while publishing
documentation-tasks: tasks
secrets:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
STREAM_PUBLIC_BOT_TOKEN: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }}