Implement the "publish-action" action

This commit is contained in:
MaksimZhukov
2021-05-21 19:59:44 +03:00
parent d90d23df2a
commit d8eb8e53b7
22 changed files with 12475 additions and 0 deletions

View File

@ -1 +1,26 @@
# publish-action
**Please note: this action is for internal usage only, we don't track issues or accept any contributions. We also do not recommend it for public or production usage.**
This action adds reliability to the new action versions publishing and handles the following cases:
- Update a major tag (v1, for example) to point to the latest release (v1.2.1, for example).
- Create a major tag from the latest released tag if a major tag doesn't exist
## Status
Alpha. Action is under development and internal testing.
## Usage
Action can be triggered on release creation or manually. The actual major tag update will require manual approval.
See [release-new-action-version.yml](./.github/workflows/release-new-action-version.yml) for usage example.
See [action.yml](action.yml) for a complete description of input and output fields.
Read more about action versioning notation in [action-versioning.md](https://github.com/actions/toolkit/blob/main/docs/action-versioning.md).
To roll back a release in case of customer impact, start the workflow manually and specify the previous stable tag.
## Conributions
We don't accept contributions until the action is ready for production.
## License
The scripts and documentation in this project are released under the [MIT License](LICENSE).