mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 00:56:47 +00:00
Add an option to specify retention period
This commit is contained in:
parent
58740802ef
commit
59018c2f85
8 changed files with 66 additions and 10 deletions
|
@ -17,6 +17,12 @@ inputs:
|
|||
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: 'node12'
|
||||
main: 'dist/index.js'
|
||||
main: 'dist/index.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue