Update .github/workflows/npm.yaml

This commit is contained in:
Zakary Timson 2023-11-29 14:36:53 +00:00
parent 064eabfaca
commit 997e95df71

View File

@ -16,6 +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: ''
artifact_name: artifact_name:
type: string type: string
required: false required: false
@ -46,7 +47,7 @@ jobs:
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: ${{env.ARTIFACTS}} != '' if: ${{inputs.artifacts}} != ''
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{env.ARTIFACTS}} name: ${{env.ARTIFACTS}}