Install [DNSControl][dnscontrol] action

May 1, 2026 ยท View on GitHub

Release version Build Status License

This 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).

Additionally, this action uses the 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

The following inputs can be used as step.with keys:

NameTypeDefaultRequiredDescription
versionstringlatestnoDNSControl version to install

Outputs

NameTypeDescription
dnscontrol-binstringPath to the DNSControl binary file

Releasing

To release a new version:

  • Build the action distribution (make build or npm run build).
  • Commit and push changes (including dist directory changes - this is important) to the master|main branch.
  • Publish the new release using the repo releases page (the git tag should follow the vX.Y.Z format).

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.

Support

Issues Pull Requests

If you find any errors in the action, please create an issue in this repository.

License

This is open-source software licensed under the MIT License.