File tree 2 files changed +17
-8
lines changed
2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 29
29
githubTag : ${{ github.event.release.tag_name || inputs.tag }}
30
30
31
31
secrets : inherit
32
+
33
+ publish-bundle :
34
+ if : ${{ success() && needs.getDistTag.outputs.tag == '' }}
35
+ uses : ./.github/workflows/releaseWithCoreBundle.yml
36
+ needs : [getDistTag, npm]
37
+ with :
38
+ branch : ' main'
39
+ secrets : inherit
Original file line number Diff line number Diff line change 1
1
name : publish source-tracking-bundle
2
2
on :
3
- workflow_run :
4
- workflows :
5
- - publish
6
- types :
7
- - completed
8
-
3
+ workflow_call :
4
+ inputs :
5
+ branch :
6
+ description : ' Set the branch to use for release'
7
+ type : string
8
+ required : false
9
+ default : ' main'
9
10
workflow_dispatch :
10
11
inputs :
11
12
branch :
16
17
17
18
jobs :
18
19
call-release-workflow :
19
- if : ${{ inputs.branch || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
20
+ if : ${{ inputs.branch }}
20
21
uses : forcedotcom/bundle-publish-scripts/.github/workflows/releaseWithCoreBundle.yml@main
21
22
secrets : inherit
22
23
with :
23
- branch : ${{ inputs.branch || 'main' }}
24
+ branch : ${{ inputs.branch }}
You can’t perform that action at this time.
0 commit comments