mirror of
https://gitea.com/actions/upload-artifact.git
synced 2026-03-02 14:29:36 +08:00
Support direct file uploads
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user