Install Rain action
This action installs Rain (AWS CloudFormation development toolkit) as a binary file into your workflow. It can be run on Linux (ubuntu-latest), macOS (macos-latest) or Windows (windows-latest).
- Rain releases page: https://github.com/aws-cloudformation/rain/releases
Additionally, this action uses the GitHub caching mechanism to speed up your workflow execution time!
jobs:
install-rain:
runs-on: ubuntu-latest
steps:
- uses: allixsenos/install-rain@v1
#with:
# version: 1.24.2 # `latest` by default, but you can set a specific version to install
- run: rain --version # any rain command can be executedThe following inputs can be used as step.with keys:
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
version |
string |
latest |
no | Rain version to install |
| Name | Type | Description |
|---|---|---|
rain-bin |
string |
Path to the Rain binary file |
To release a new version:
- Build the action distribution (
make buildornpm run build). - Commit and push changes (including
distdirectory changes - this is important) to themaster|mainbranch. - Publish the new release using the repo releases page (the git tag should follow the
vX.Y.Zformat).
Major and minor git tags (v1 and v1.2 if you publish a v1.2.Z release) will be updated automatically.
Tip
Use Dependabot to keep this action updated in your repository.
If you find any errors in the action, please create an issue in this repository.
This action is based on gacts/install-dnscontrol, which provided the foundation and inspiration for this project. Thank you to the original authors for their excellent work!
This is open-source software licensed under the MIT License.