File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -32,26 +32,17 @@ jobs:
32
32
run : npm run build
33
33
working-directory : ${{ inputs.pcfdirectory }}
34
34
- name : Create destination folder
35
- env :
36
- GH_TOKEN : ${{ github.token }}
37
- GITHUB_TOKEN : ${{ github.token }}
38
35
if : ${{ success() && inputs.publishArtifact }}
39
- run : mkdir -p ${{ github.workspace }}/dist
36
+ run : mkdir -p ${{ github.workspace }}${{inputs.artifactlocation}}
40
37
- name : Copy file output pcf bundle into staging directory
41
- env :
42
- GH_TOKEN : ${{ github.token }}
43
- GITHUB_TOKEN : ${{ github.token }}
44
38
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}}
46
40
- name : Upload ${{ inputs.componentName }} artifact
47
- env :
48
- GH_TOKEN : ${{ github.token }}
49
- GITHUB_TOKEN : ${{ github.token }}
50
41
if : ${{ success() && inputs.publishArtifact }}
51
42
uses : actions/upload-artifact@v4
52
43
with :
53
44
name : ${{ inputs.componentName }}
54
- path : ${{inputs.artifactlocation}}
45
+ path : ${{ github.workspace }}${{ inputs.artifactlocation}}
55
46
56
47
57
48
You can’t perform that action at this time.
0 commit comments