DNSControl action
InstallThis action installs DNSControl as a binary file into your workflow. It can be run on Linux (ubuntu-latest
), macOS (macos-latest
) or windows (windows-latest
).
- π DNSControl releases page: https://github.com/StackExchange/dnscontrol/releases
Additionally, this action uses GitHub caching mechanism to speed up your workflow execution time!
Usage
jobs:
install-dnscontrol:
runs-on: ubuntu-latest
steps:
- uses: gacts/install-dnscontrol@v1
#with:
# version: 3.20.0 # `latest` by default, but you can set a specific version to install
- run: dnscontrol version # any dnscontrol command can be executed
Customizing
Inputs
Following inputs can be used as step.with
keys:
Name | Type | Default | Required | Description |
---|---|---|---|---|
version |
string |
latest |
no | DNSControl version to install |
github-token |
string |
${{ github.token }} |
no | GitHub token (for requesting the latest DNSControl version info) |
Outputs
Name | Type | Description |
---|---|---|
dnscontrol-bin |
string |
Path to the dnscontrol binary file |
Releasing
New versions releasing scenario:
- Make required changes in the changelog file
- Build the action distribution (
make build
oryarn build
) - Commit and push changes (including
dist
directory changes - this is important) into themaster
branch - Publish new release using repo releases page (git tag should follow
vX.Y.Z
format)
Major and minor git tags (v1
and v1.2
if you publish v1.2.Z
release) will be updated automatically.
Support
If you find any action errors, please, make an issue in the current repository.
License
This is open-sourced software licensed under the MIT License.