Skip to content

Commit 4179b58

Browse files
committed
.
1 parent a1d18dc commit 4179b58

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

.github/workflows/buildjs.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,17 @@ jobs:
7474
token: ${{ secrets.CODECOV_TOKEN }}
7575
verbose: true # optional (default = false)
7676
- name: Create destination folder
77-
env:
78-
GH_TOKEN: ${{ github.token }}
79-
GITHUB_TOKEN: ${{ github.token }}
8077
if: ${{ success() && inputs.publishArtifact }}
81-
run: mkdir -p ${{inputs.artifactlocation}}
78+
run: mkdir -p ${{ github.workspace }}${{inputs.artifactlocation}}
8279
- name: Copy file outputjs into staging directory
83-
env:
84-
GH_TOKEN: ${{ github.token }}
85-
GITHUB_TOKEN: ${{ github.token }}
8680
if: ${{ success() && inputs.publishArtifact }}
87-
run: cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{inputs.artifactlocation}}
81+
run: cp ${{ inputs.projectdirectory }}/dist/broadcast.js ${{ github.workspace }}${{inputs.artifactlocation}}
8882
- name: Upload ${{ inputs.componentName }} artifact
89-
env:
90-
GH_TOKEN: ${{ github.token }}
91-
GITHUB_TOKEN: ${{ github.token }}
9283
if: ${{ success() && inputs.publishArtifact }}
9384
uses: actions/upload-artifact@v4
9485
with:
9586
name: ${{ inputs.componentName }}
96-
path: ${{inputs.artifactlocation}}
87+
path: ${{ github.workspace }}${{inputs.artifactlocation}}
9788

9889

9990

.github/workflows/ci-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
publishArtifact: false
3838
testCommand: 'test:ci'
3939
publishCodeCov: true
40-
artifactlocation: '${{ github.workspace }}/dist'
40+
artifactlocation: '/dist'
4141
secrets:
4242
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4343

@@ -47,6 +47,6 @@ jobs:
4747
uses: ./.github/workflows/buildpcf.yml
4848
with:
4949
pcfdirectory: 'src/broadcast-pcf/appmodulepicker'
50-
publishArtifact: true
50+
publishArtifact: false
5151
componentName: AppModulePicker
52-
artifactlocation: '${{ github.workspace }}/dist'
52+
artifactlocation: '/dist'

.github/workflows/release-on-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
publishArtifact: true
2626
testCommand: 'test:ci'
2727
publishCodeCov: false
28-
artifactlocation: '${{ github.workspace }}/dist'
28+
artifactlocation: '/dist'
2929
secrets:
3030
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3131

@@ -37,7 +37,7 @@ jobs:
3737
pcfdirectory: 'src/broadcast-pcf/appmodulepicker'
3838
publishArtifact: true
3939
componentName: AppModulePicker
40-
artifactlocation: '${{ github.workspace }}/dist'
40+
artifactlocation: '/dist'
4141
release:
4242
name: Create Release from tag
4343
needs: [ buildAppModulePickerPCF, buildBroadCastJs]

0 commit comments

Comments
 (0)