Skip to content

Commit bb3e98f

Browse files
committed
Add github action to publish a new version
1 parent 534f988 commit bb3e98f

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish New Version
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
bump:
7+
type: choice
8+
description: "Type of version bump to perform"
9+
options:
10+
- patch
11+
- minor
12+
- major
13+
14+
jobs:
15+
pre_release_check:
16+
name: Pre release check
17+
runs-on: ubuntu-24.04
18+
environment: 'publish'
19+
steps:
20+
- name: Check
21+
id: pre_release_check_step
22+
run: echo "Pre release check"
23+
publish:
24+
needs: pre_release_check
25+
uses: GetStream/android-ci-actions/.github/workflows/release-new-version.yml@main
26+
with:
27+
ref: "develop"
28+
bump: ${{ inputs.bump }}
29+
file-path: ./buildSrc/src/main/kotlin/io/getstream/core/Configuration.kt
30+
excluded-modules: "app"
31+
secrets:
32+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
33+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
34+
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
35+
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
36+
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
37+
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
38+
STREAM_PUBLIC_BOT_TOKEN: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }}

0 commit comments

Comments
 (0)