Skip to content

Commit a1d18dc

Browse files
committed
.
1 parent 1ada565 commit a1d18dc

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/buildpcf.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,17 @@ jobs:
3232
run: npm run build
3333
working-directory: ${{ inputs.pcfdirectory }}
3434
- name: Create destination folder
35-
env:
36-
GH_TOKEN: ${{ github.token }}
37-
GITHUB_TOKEN: ${{ github.token }}
3835
if: ${{ success() && inputs.publishArtifact }}
39-
run: mkdir -p ${{ github.workspace }}/dist
36+
run: mkdir -p ${{ github.workspace }}${{inputs.artifactlocation}}
4037
- name: Copy file output pcf bundle into staging directory
41-
env:
42-
GH_TOKEN: ${{ github.token }}
43-
GITHUB_TOKEN: ${{ github.token }}
4438
if: ${{ success() && inputs.publishArtifact }}
45-
run: cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{inputs.artifactlocation}}
39+
run: cp ${{ inputs.pcfdirectory }}/out/controls/${{ inputs.componentName }}/* ${{ github.workspace }}${{inputs.artifactlocation}}
4640
- name: Upload ${{ inputs.componentName }} artifact
47-
env:
48-
GH_TOKEN: ${{ github.token }}
49-
GITHUB_TOKEN: ${{ github.token }}
5041
if: ${{ success() && inputs.publishArtifact }}
5142
uses: actions/upload-artifact@v4
5243
with:
5344
name: ${{ inputs.componentName }}
54-
path: ${{inputs.artifactlocation}}
45+
path: ${{ github.workspace }}${{inputs.artifactlocation}}
5546

5647

5748

0 commit comments

Comments
 (0)