Support direct file uploads
This commit is contained in:
parent
4177a106a5
commit
6b68470975
9 changed files with 46 additions and 7 deletions
10
action.yml
10
action.yml
|
|
@ -3,10 +3,10 @@ description: 'Upload a build artifact that can be used by subsequent workflow st
|
|||
author: 'GitHub'
|
||||
inputs:
|
||||
name:
|
||||
description: 'Artifact name'
|
||||
description: 'Artifact name. If the "archive" input is `false`, the name of the file uploaded will be the artifact name.'
|
||||
default: 'artifact'
|
||||
path:
|
||||
description: 'A file, directory or wildcard pattern that describes what to upload'
|
||||
description: 'A file, directory or wildcard pattern that describes what to upload.'
|
||||
required: true
|
||||
if-no-files-found:
|
||||
description: >
|
||||
|
|
@ -45,6 +45,12 @@ inputs:
|
|||
If true, hidden files will be included in the artifact.
|
||||
If false, hidden files will be excluded from the artifact.
|
||||
default: 'false'
|
||||
archive:
|
||||
description: >
|
||||
If true, the artifact will be archived (zipped) before uploading.
|
||||
If false, the artifact will be uploaded as-is without archiving.
|
||||
When archive is false, only a single file can be uploaded. The name of the file will be used as the artifact name.
|
||||
default: 'true'
|
||||
|
||||
outputs:
|
||||
artifact-id:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue