mirror of
https://github.com/actions/upload-artifact.git
synced 2025-06-24 08:36:12 +02:00
Artifact action.yml
- name: Upload a Build Artifact uses: actions/upload-artifact@v3.1.1
This commit is contained in:
parent
83fd05a356
commit
4f009e0603
1 changed files with 2 additions and 0 deletions
28
action.yml
28
action.yml
|
@ -1,28 +0,0 @@
|
|||
name: 'Upload a Build Artifact'
|
||||
description: 'Upload a build artifact that can be used by subsequent workflow steps'
|
||||
author: 'GitHub'
|
||||
inputs:
|
||||
name:
|
||||
description: 'Artifact name'
|
||||
default: 'artifact'
|
||||
path:
|
||||
description: 'A file, directory or wildcard pattern that describes what to upload'
|
||||
required: true
|
||||
if-no-files-found:
|
||||
description: >
|
||||
The desired behavior if no files are found using the provided path.
|
||||
|
||||
Available Options:
|
||||
warn: Output a warning but do not fail the action
|
||||
error: Fail the action with an error message
|
||||
ignore: Do not output any warnings or errors, the action does not fail
|
||||
default: 'warn'
|
||||
retention-days:
|
||||
description: >
|
||||
Duration after which artifact will expire in days. 0 means using default retention.
|
||||
|
||||
Minimum 1 day.
|
||||
Maximum 90 days unless changed from the repository settings page.
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'dist/index.js'
|
Loading…
Add table
Add a link
Reference in a new issue