Skip to content

Commit 80723a5

Browse files
committed
Create new publish-new-version workflow
1 parent 4d8e095 commit 80723a5

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
publish:
16+
uses: GetStream/android-ci-actions/.github/workflows/release-new-version.yml@main
17+
with:
18+
ref: "develop"
19+
bump: ${{ inputs.bump }}
20+
file-path: ./buildSrc/src/main/kotlin/io/getstream/Configurations.kt
21+
use-official-plugin: false
22+
excluded-modules: "app"
23+
documentation-tasks: "sourcesJar"
24+
secrets:
25+
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
26+
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
27+
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
28+
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
29+
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
30+
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
31+
STREAM_PUBLIC_BOT_TOKEN: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }}

0 commit comments

Comments
 (0)