Update .github/workflows/npm.yaml
This commit is contained in:
parent
fd2db1d5ee
commit
a6e9ecb372
5
.github/workflows/npm.yaml
vendored
5
.github/workflows/npm.yaml
vendored
@ -43,12 +43,13 @@ jobs:
|
|||||||
working-directory: ${{inputs.path}}
|
working-directory: ${{inputs.path}}
|
||||||
|
|
||||||
- name: Artifact Name
|
- name: Artifact Name
|
||||||
if: ${{inputs.artifacts}} != false
|
if: "${{inputs.artifacts}}" != "false"
|
||||||
run: echo "ARTIFACTS=$(echo ${{inputs.artifact_name}} | sed s%/%_% )" >> $GITHUB_ENV
|
run: echo "ARTIFACTS=$(echo ${{inputs.artifact_name}} | sed s%/%_% )" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
if: ${{inputs.artifacts}} != false
|
if: "${{inputs.artifacts}}" != "false"
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.ARTIFACTS}}
|
name: ${{env.ARTIFACTS}}
|
||||||
path: ${{inputs.artifacts}}
|
path: ${{inputs.artifacts}}
|
||||||
|
retention-days: 7
|
||||||
|
Loading…
Reference in New Issue
Block a user