Update .github/workflows/npm.yaml
This commit is contained in:
parent
f8f88ba0dc
commit
e11c2f61ca
8
.github/workflows/npm.yaml
vendored
8
.github/workflows/npm.yaml
vendored
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user