Update .github/workflows/npm.yaml
This commit is contained in:
parent
7bd5f9b71a
commit
00437ea654
6
.github/workflows/npm.yaml
vendored
6
.github/workflows/npm.yaml
vendored
@ -16,6 +16,10 @@ on:
|
||||
type: string
|
||||
required: false
|
||||
description: Path to any artifacts you wish uploaded
|
||||
artifact_name:
|
||||
type: string
|
||||
required: false
|
||||
description: Change artifact name
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@ -40,5 +44,5 @@ jobs:
|
||||
if: ${{inputs.artifacts}} != ''
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{inputs.artifacts}}
|
||||
name: ${{inputs.artifact_name}} || $(echo "${{inputs.artifacts}}" | sed s%/%_%)
|
||||
path: ${{inputs.artifacts}}
|
||||
|
Loading…
Reference in New Issue
Block a user