2btech/Upload Private Artifact

Uploads an artifact to private storage

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 25, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 2btech/misc_githubactionsartifacts@c3de8b091aa808c4357cadbe01df995cfb3682d5 # v2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
nameArtifact nameartifact
pathA file, directory or wildcard pattern that describes what to uploadyes
if-no-files-foundThe 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-levelThe 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-filesIf true, hidden files will be included in the artifact. If false, hidden files will be excluded from the artifact. false
methodSpecifies how to upload the artifact. Currently, only SFTP is supported - SFTP SFTP
serverThe URL of the server that will accept the data
userThe username to use for the SFTP connection
passwordThe password to use for the SFTP connection
private-keyThe private key to use for the SFTP connection
server-pathThe path on the server to upload to
server-rootIf the server-path isn't specified, then the default path is appended to this directory to create the server-path
namedescription
timeYour output description here