File tree Expand file tree Collapse file tree 4 files changed +13
-21
lines changed Expand file tree Collapse file tree 4 files changed +13
-21
lines changed Original file line number Diff line number Diff line change 26
26
required : false
27
27
type : string
28
28
secrets :
29
- GITHUB_TOKEN :
30
- required : true
31
29
CODECOV_TOKEN :
32
30
required : false
33
31
jobs :
@@ -77,20 +75,20 @@ jobs:
77
75
verbose : true # optional (default = false)
78
76
- name : Create destination folder
79
77
env :
80
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78
+ GH_TOKEN : ${{ github.token }}
79
+ GITHUB_TOKEN : ${{ github.token }}
82
80
if : ${{ success() && inputs.publishArtifact }}
83
81
run : mkdir -p ${{inputs.artifactlocation}}
84
82
- name : Copy file outputjs into staging directory
85
83
env :
86
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
84
+ GH_TOKEN : ${{ github.token }}
85
+ GITHUB_TOKEN : ${{ github.token }}
88
86
if : ${{ success() && inputs.publishArtifact }}
89
87
run : cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
90
88
- name : Upload ${{ inputs.componentName }} artifact
91
89
env :
92
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90
+ GH_TOKEN : ${{ github.token }}
91
+ GITHUB_TOKEN : ${{ github.token }}
94
92
if : ${{ success() && inputs.publishArtifact }}
95
93
uses : actions/upload-artifact@v4
96
94
with :
Original file line number Diff line number Diff line change @@ -33,20 +33,20 @@ jobs:
33
33
working-directory : ${{ inputs.pcfdirectory }}
34
34
- name : Create destination folder
35
35
env :
36
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ GH_TOKEN : ${{ github.token }}
37
+ GITHUB_TOKEN : ${{ github.token }}
38
38
if : ${{ success() && inputs.publishArtifact }}
39
39
run : mkdir -p ${{inputs.artifactlocation}}
40
40
- name : Copy file output pcf bundle into staging directory
41
41
env :
42
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42
+ GH_TOKEN : ${{ github.token }}
43
+ GITHUB_TOKEN : ${{ github.token }}
44
44
if : ${{ success() && inputs.publishArtifact }}
45
45
run : cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
46
46
- name : Upload ${{ inputs.componentName }} artifact
47
47
env :
48
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
+ GH_TOKEN : ${{ github.token }}
49
+ GITHUB_TOKEN : ${{ github.token }}
50
50
if : ${{ success() && inputs.publishArtifact }}
51
51
uses : actions/upload-artifact@v4
52
52
with :
Original file line number Diff line number Diff line change 39
39
publishCodeCov : true
40
40
artifactlocation : ' ${{ github.workspace }}/dist'
41
41
secrets :
42
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
42
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
44
43
45
44
49
48
with :
50
49
pcfdirectory : ' src/broadcast-pcf/appmodulepicker'
51
50
publishArtifact : false
52
- componentName : AppModulePicker
53
- secrets :
54
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51
+ componentName : AppModulePicker
Original file line number Diff line number Diff line change 27
27
publishCodeCov : false
28
28
artifactlocation : ' ${{ github.workspace }}/dist'
29
29
secrets :
30
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
30
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
32
31
33
32
39
38
publishArtifact : true
40
39
componentName : AppModulePicker
41
40
artifactlocation : ' ${{ github.workspace }}/dist'
42
- secrets :
43
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
41
release :
45
42
name : Create Release from tag
46
43
needs : [ buildAppModulePickerPCF, buildBroadCastJs]
You can’t perform that action at this time.
0 commit comments