Update .github/workflows/npm.yaml
This commit is contained in:
parent
997e95df71
commit
49762c143f
6
.github/workflows/npm.yaml
vendored
6
.github/workflows/npm.yaml
vendored
@ -16,7 +16,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
description: Path to any artifacts you wish uploaded
|
description: Path to any artifacts you wish uploaded
|
||||||
default: ''
|
default: false
|
||||||
artifact_name:
|
artifact_name:
|
||||||
type: string
|
type: string
|
||||||
required: false
|
required: false
|
||||||
@ -43,11 +43,11 @@ jobs:
|
|||||||
working-directory: ${{inputs.path}}
|
working-directory: ${{inputs.path}}
|
||||||
|
|
||||||
- name: Artifact Name
|
- name: Artifact Name
|
||||||
if: ${{inputs.artifacts}} != ''
|
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}} != ''
|
if: ${{inputs.artifacts}} != 'false'
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.ARTIFACTS}}
|
name: ${{env.ARTIFACTS}}
|
||||||
|
Loading…
Reference in New Issue
Block a user