2btech/Upload Private Artifact
Uploads an artifact to private storage
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 25, 2024
- License
- MIT
Pinned Snippet
uses: 2btech/misc_githubactionsartifacts@c3de8b091aa808c4357cadbe01df995cfb3682d5 # v2.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Artifact name | — | artifact |
| path | A file, directory or wildcard pattern that describes what to upload | yes | — |
| if-no-files-found | 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 | — | warn |
| 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 |
| include-hidden-files | If true, hidden files will be included in the artifact. If false, hidden files will be excluded from the artifact. | — | false |
| method | Specifies how to upload the artifact. Currently, only SFTP is supported - SFTP | — | SFTP |
| server | The URL of the server that will accept the data | — | — |
| user | The username to use for the SFTP connection | — | — |
| password | The password to use for the SFTP connection | — | — |
| private-key | The private key to use for the SFTP connection | — | — |
| server-path | The path on the server to upload to | — | — |
| server-root | If the server-path isn't specified, then the default path is appended to this directory to create the server-path | — | — |
Outputs
| name | description |
|---|---|
| time | Your output description here |