Skip to content

Commit 03586d5

Browse files
fix: fix publish-snapshot-publish
1 parent 258d58a commit 03586d5

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

.github/workflows/release-sdk-snapshot.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,13 @@ name: Snapshot Release
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
branch:
7+
description: 'Branch to build SDK and release the SDK from'
8+
required: true
9+
type: string
510

611
jobs:
7-
run-e2e-examples:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout Repo
11-
uses: actions/checkout@v4
12-
13-
- name: Run Examples
14-
uses: ./.github/workflows/run-examples.yaml
15-
with:
16-
branch: 'v2-dev' # TODO: Update to main
17-
jdk: '8'
18-
1912
run-integration-tests:
2013
runs-on: ubuntu-latest
2114
steps:
@@ -30,13 +23,13 @@ jobs:
3023

3124
release:
3225
runs-on: ubuntu-latest
33-
needs: [run-e2e-examples, run-integration-tests]
26+
needs: [run-integration-tests]
3427
steps:
3528
- name: Checkout
3629
uses: actions/checkout@v4
3730
with:
3831
fetch-depth: 0
39-
ref: v2-dev # TODO: Update to main
32+
ref: ${{ inputs.branch }}
4033

4134
- name: Publish SDK
4235
env:

0 commit comments

Comments
 (0)