From c1f99f1a98d55ed24b9aa3259b27af276dd4f563 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 24 Nov 2023 17:48:54 +0000 Subject: [PATCH] Update .github/workflows/npm.yaml --- .github/workflows/npm.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm.yaml b/.github/workflows/npm.yaml index e5cde7c..c009bfb 100644 --- a/.github/workflows/npm.yaml +++ b/.github/workflows/npm.yaml @@ -16,6 +16,11 @@ on: type: string required: false 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: docker: @@ -40,5 +45,5 @@ jobs: if: ${{inputs.artifacts}} != '' uses: actions/upload-artifact@v3 with: - name: ${{ inputs.artifacts | sed s%/%_% }} - path: ${{ inputs.artifacts }} + name: ${{echo ${{inputs.artifact_name}} | sed s%/%_% }} + path: ${{inputs.artifacts}}