Update .github/workflows/npm.yaml
This commit is contained in:
parent
7c862bf3c8
commit
c1f99f1a98
7
.github/workflows/npm.yaml
vendored
7
.github/workflows/npm.yaml
vendored
@ -16,6 +16,11 @@ 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
|
||||||
|
artifact_name:
|
||||||
|
type: string
|
||||||
|
required: false
|
||||||
|
description: Path to any artifacts you wish uploaded
|
||||||
|
default: ${{inputs.artifacts}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@ -40,5 +45,5 @@ jobs:
|
|||||||
if: ${{inputs.artifacts}} != ''
|
if: ${{inputs.artifacts}} != ''
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.artifacts | sed s%/%_% }}
|
name: ${{echo ${{inputs.artifact_name}} | sed s%/%_% }}
|
||||||
path: ${{inputs.artifacts}}
|
path: ${{inputs.artifacts}}
|
||||||
|
Loading…
Reference in New Issue
Block a user