Update action.yml

This commit is contained in:
Swapnil Narhire 2021-04-30 19:22:30 +05:30 committed by GitHub
parent 158ca71f7c
commit bcf4504bb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,13 +1,12 @@
name: 'Download a Build Artifact'
description: 'Download a build artifact that was previously uploaded in the workflow by the upload-artifact action'
author: 'GitHub'
inputs:
name:
description: 'Artifact name'
required: false
path:
description: 'Destination path'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: npm install and build webpack
run: |
npm install
npm run build
- uses: actions/upload-artifact@main
with:
name: webpack artifacts
path: public/