webfreak001/Deploy Nightly
Deploy an asset to a GitHub release with date and commit hash and delete old assets.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| upload_url | GitHub upload URL | yes | — |
| release_id | GitHub release id | yes | — |
| asset_path | Path to archive to upload | yes | — |
| asset_name | Name of the file to upload with a $$ placeholder to insert date and hash into | yes | — |
| asset_content_type | Content type of the uploaded file | yes | — |
| max_releases | Maximum number of historical releases with the given asset_name to keep | no | 7 |
| ignore_hash | If a release asset exists associated with the current commit, upload anyway? | no | false |
| token | The Github token. | no | ${{ github.token }} |
| repo | Optionally specify the repository ("OwnerName/RepoName") where the release is located. Defaults to current repository | no | ${{ github.repository }} |
| sha | Optionally specify the commit SHA for release filename. Defaults to SHA that triggered the workflow. Only the first 6 characters are used | no | ${{ github.sha }} |
Outputs
| name | description |
|---|---|
| uploaded | yes if a new upload has been made, no if the upload already existed |
| url | GitHub asset URL |