Update .github/workflows/npm.yaml

This commit is contained in:
Zakary Timson 2023-11-24 17:54:50 +00:00
parent f8f88ba0dc
commit e11c2f61ca

View File

@ -41,9 +41,13 @@ jobs:
run: npm run build:prod || npm run build
working-directory: ${{inputs.path}}
- name: Upload Artifacts
- name: Artifact Name
if: ${{inputs.artifacts}} != ''
run: echo "ARTIFACTS=$(echo ${{inputs.artifact_name}} | sed s%/%_% )" >> $GITHUB_ENV
- name: Upload Artifacts
if: ${{env.ARTIFACTS}} != ''
uses: actions/upload-artifact@v3
with:
name: echo ${{inputs.artifact_name}} | sed s%/%_%
name: ${{env.ARTIFACTS}}
path: ${{inputs.artifacts}}