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 2626 required : false
2727 type : string
2828 secrets :
29- GITHUB_TOKEN :
30- required : true
3129 CODECOV_TOKEN :
3230 required : false
3331jobs :
@@ -77,20 +75,20 @@ jobs:
7775 verbose : true # optional (default = false)
7876 - name : Create destination folder
7977 env :
80- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78+ GH_TOKEN : ${{ github.token }}
79+ GITHUB_TOKEN : ${{ github.token }}
8280 if : ${{ success() && inputs.publishArtifact }}
8381 run : mkdir -p ${{inputs.artifactlocation}}
8482 - name : Copy file outputjs into staging directory
8583 env :
86- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
84+ GH_TOKEN : ${{ github.token }}
85+ GITHUB_TOKEN : ${{ github.token }}
8886 if : ${{ success() && inputs.publishArtifact }}
8987 run : cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
9088 - name : Upload ${{ inputs.componentName }} artifact
9189 env :
92- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
93- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90+ GH_TOKEN : ${{ github.token }}
91+ GITHUB_TOKEN : ${{ github.token }}
9492 if : ${{ success() && inputs.publishArtifact }}
9593 uses : actions/upload-artifact@v4
9694 with :
Original file line number Diff line number Diff line change @@ -33,20 +33,20 @@ jobs:
3333 working-directory : ${{ inputs.pcfdirectory }}
3434 - name : Create destination folder
3535 env :
36- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ GH_TOKEN : ${{ github.token }}
37+ GITHUB_TOKEN : ${{ github.token }}
3838 if : ${{ success() && inputs.publishArtifact }}
3939 run : mkdir -p ${{inputs.artifactlocation}}
4040 - name : Copy file output pcf bundle into staging directory
4141 env :
42- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42+ GH_TOKEN : ${{ github.token }}
43+ GITHUB_TOKEN : ${{ github.token }}
4444 if : ${{ success() && inputs.publishArtifact }}
4545 run : cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
4646 - name : Upload ${{ inputs.componentName }} artifact
4747 env :
48- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48+ GH_TOKEN : ${{ github.token }}
49+ GITHUB_TOKEN : ${{ github.token }}
5050 if : ${{ success() && inputs.publishArtifact }}
5151 uses : actions/upload-artifact@v4
5252 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 }}
4342 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
4443
4544
4948 with :
5049 pcfdirectory : ' src/broadcast-pcf/appmodulepicker'
5150 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 2727 publishCodeCov : false
2828 artifactlocation : ' ${{ github.workspace }}/dist'
2929 secrets :
30- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3130 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3231
3332
3938 publishArtifact : true
4039 componentName : AppModulePicker
4140 artifactlocation : ' ${{ github.workspace }}/dist'
42- secrets :
43- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4441 release :
4542 name : Create Release from tag
4643 needs : [ buildAppModulePickerPCF, buildBroadCastJs]
You can’t perform that action at this time.
0 commit comments