mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-05 14:09:38 +00:00
Add an option to specify retention period
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user