File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,13 @@ name: Snapshot Release
22
33on :
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
611jobs :
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 :
You can’t perform that action at this time.
0 commit comments