mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 00:48:28 +02:00
Update action.yml
This commit is contained in:
parent
158ca71f7c
commit
bcf4504bb6
1 changed files with 12 additions and 13 deletions
25
action.yml
25
action.yml
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue