nanoufo/Upload artifacts & release assets
Upload each file individually as an artifact or as a release file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | A file or wildcard pattern that describes what to upload | yes | — |
| if-no-files-found | The desired behavior if no files are found for any glob of 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 | no | warn |
| retention-days | 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. | no | — |
| compression-level | The level of compression for Zlib to be applied to the artifact archive. The value can range from 0 to 9: - 0: No compression - 1: Best speed - 6: Default compression (same as GNU Gzip) - 9: Best compression Higher levels will result in better compression, but will take longer to complete. For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads. | — | 6 |
| release-upload-url | URL used to upload files to release. | no | — |
| upload-release-files | Whether to upload files to release. | no | false |
| retry-limit | Number of times to retry uploading a file if it fails. Minimum 0. Maximum 10. | no | 3 |
| retry-interval | Number of seconds to wait between upload attempts. Minimum 1. Maximum 10. | no | 3 |
| github-token | GitHub token to use for authentication | no | ${{ github.token }} |
Outputs
no outputs