This is an action to install dda in your GitHub Actions workflow.
You must use this action in one of your jobs' steps:
- name: Install dda
uses: DataDog/datadog-agent-dev@installFor strict security guarantees, it's best practice to pin the action to a specific commit (of the install branch) like so:
- name: Install dda
uses: DataDog/datadog-agent-dev@e1806a36cb1da98f3a4852c6620b628bc31d81b6| Name | Default | Description |
|---|---|---|
version |
latest |
The version of dda to install (e.g. 0.5.0). |
features |
A space-separated list of features to install (e.g. feat1 feat2). |
It's possible to use the install script outside of GitHub Actions assuming you set up your environment as follows:
- Set every option to an environment variable prefixed by
DDA_INSTALL_, uppercased and with hyphens replaced by underscores. - Set the
DDA_INSTALL_PATHenvironment variable to the directory where you want to install dda. - Set the
DDA_INSTALL_PLATFORMenvironment variable to the current platform using one of the following values:linuxwindowsmacos
- Set the
DDA_INSTALL_ARCHenvironment variable to the current architecture using one of the following values:x64arm64
- Install pipx as a fallback installation method for when there is no standalone binary available.