Installs arcane-cli in a GitHub Actions job so later workflow steps can run the Arcane CLI.
Install the latest Arcane CLI release:
steps:
- uses: getarcaneapp/setup-cli@v1
- run: arcane-cli --versionInstall Arcane CLI v1.19.5:
steps:
- uses: getarcaneapp/setup-cli@v1
with:
version: 1.19.5
- run: arcane-cli --versionConfigure the CLI with workflow secrets before calling an Arcane server:
steps:
- uses: getarcaneapp/setup-cli@v1
with:
version: 1.19.5
- run: |
arcane-cli config set server-url "$ARCANE_SERVER_URL"
arcane-cli config set api-key "$ARCANE_API_KEY"
arcane-cli projects list
env:
ARCANE_SERVER_URL: ${{ secrets.ARCANE_SERVER_URL }}
ARCANE_API_KEY: ${{ secrets.ARCANE_API_KEY }}version- Optional. Arcane CLI version to install. Defaults tolatest. Acceptslatest, exact versions like1.19.5orv1.19.5, and semver ranges like1.x.github-token- Optional. GitHub token used for release API calls. Useful if your workflow hits unauthenticated GitHub API rate limits.
Versions refer to the main Arcane releases, such as v1.19.5, which contain the CLI archives. Go module tags such as cli/v2.9.0 are not release versions for this action.
Supported runners are Linux with x64, arm64, ia32, armv7, or riscv64, and macOS with x64 or arm64. The selected release must include an archive for the runner's platform. Windows is not supported.
version- Resolved Arcane CLI version that was installed.path- Directory added toPATH.cache-hit-truewhen the tool came from the runner tool cache, otherwisefalse.
This action only installs arcane-cli. It does not request GitHub OIDC tokens, exchange credentials, or write Arcane config automatically.