Publish New Version #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |