alexgidarakos/Download Encrypted Artifact
Download and decrypt artifacts previously created with upload-encrypted-artifact
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | The GitHub token used to authenticate with the GitHub API. This is required when downloading artifacts from a different repository or from a different workflow run. If unspecified, the action will download artifacts from the current repo and the current workflow run. | no | ${{ github.token }} |
| repository | The repository owner and the repository name joined together by "/". If github-token is specified, this is the repository that artifacts will be downloaded from. | no | ${{ github.repository }} |
| remote-name | Name of the remote artifact in GitHub | yes | — |
| destination | Directory where the decrypted contents of the artifact will be extracted | no | $GITHUB_WORKSPACE |
| password | Original text password used to encrypt the artifact before it was uploaded to GitHub | yes | — |
| reset-retention | If set to true, the action operates in a special mode that skips the decryption and decompression steps, uploads the artifact again to GitHub and overwrites the old copy, resulting in a new artifact ID. This resets the artifact's retention period and when run on a regular schedule, circumvents GitHub's artifact retention limits. | no | false |
Outputs
| name | description |
|---|---|
| artifact-id | If reset-retention is true, this output will be the ID of the new artifact copy and can be used with the GitHub REST API |
| artifact-url | If reset-retention is true, this output will be the URL to download the new artifact copy |