alexgidarakos/Upload Encrypted Artifact
Compress and encrypt one or more build artifacts into a single archive and upload this as a GitHub Actions artifact
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source | A file, directory or wildcard pattern that describes what to include in the artifact | yes | — |
| password | A text password from which an AES-256 cipher key is derived and used to encrypt the artifact | yes | — |
| compression-level | The level of LZMA compression used when creating the artifact. The value can range from 0 (no compression) to 9 (best compression). Values above 4 increase the runtime dramatically with only minimal improvement to the size reduction. For large files that are not easily compressed, a value of 1 is recommended for significantly faster execution. | no | 3 |
| local-name | Filename of the local artifact before it is uploaded to GitHub | no | artifact.tar.7z |
| remote-name | Name of the remote artifact in GitHub after the upload | no | artifact |
| retention-days | Duration after which artifact will expire in days. 0 means using the default value defined in the repository settings. Actual values can range from 1 to 90 (public repositories) or 400 (private repositories). | no | 0 |
| overwrite | Action behaviour if an artifact with the same name already exists for the same workflow run. If true, an artifact with a matching name will be deleted before a new one is uploaded. If false, the action will fail if an artifact for the given name already exists. Does not fail if the artifact does not exist. | no | true |
Outputs
| name | description |
|---|---|
| artifact-id | ID of the artifact, can be used with the GitHub REST API |
| artifact-url | URL to download the artifact |