File tree Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Expand file tree Collapse file tree 4 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 2626 required : false
2727 type : string
2828 secrets :
29+ GITHUB_TOKEN :
30+ required : true
2931 CODECOV_TOKEN :
3032 required : false
3133jobs :
@@ -74,12 +76,21 @@ jobs:
7476 token : ${{ secrets.CODECOV_TOKEN }}
7577 verbose : true # optional (default = false)
7678 - name : Create destination folder
79+ env :
80+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7782 if : ${{ success() && inputs.publishArtifact }}
7883 run : mkdir -p ${{inputs.artifactlocation}}
7984 - name : Copy file outputjs into staging directory
85+ env :
86+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8088 if : ${{ success() && inputs.publishArtifact }}
8189 run : cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
8290 - name : Upload ${{ inputs.componentName }} artifact
91+ env :
92+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8394 if : ${{ success() && inputs.publishArtifact }}
8495 uses : actions/upload-artifact@v4
8596 with :
Original file line number Diff line number Diff line change @@ -32,12 +32,21 @@ jobs:
3232 run : npm run build
3333 working-directory : ${{ inputs.pcfdirectory }}
3434 - name : Create destination folder
35+ env :
36+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3538 if : ${{ success() && inputs.publishArtifact }}
3639 run : mkdir -p ${{inputs.artifactlocation}}
3740 - name : Copy file output pcf bundle into staging directory
41+ env :
42+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3844 if : ${{ success() && inputs.publishArtifact }}
3945 run : cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
4046 - name : Upload ${{ inputs.componentName }} artifact
47+ env :
48+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4150 if : ${{ success() && inputs.publishArtifact }}
4251 uses : actions/upload-artifact@v4
4352 with :
Original file line number Diff line number Diff line change 3939 publishCodeCov : true
4040 artifactlocation : ' ${{ github.workspace }}/dist'
4141 secrets :
42+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4243 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4344
4445
4849 with :
4950 pcfdirectory : ' src/broadcast-pcf/appmodulepicker'
5051 publishArtifact : false
51- componentName : AppModulePicker
52+ componentName : AppModulePicker
53+ secrets :
54+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2727 publishCodeCov : false
2828 artifactlocation : ' ${{ github.workspace }}/dist'
2929 secrets :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3031 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3132
3233
3839 publishArtifact : true
3940 componentName : AppModulePicker
4041 artifactlocation : ' ${{ github.workspace }}/dist'
42+ secrets :
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4144 release :
4245 name : Create Release from tag
4346 needs : [ buildAppModulePickerPCF, buildBroadCastJs]
You can’t perform that action at this time.
0 commit comments