You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
setup-algolia-cli
v1.0.0
This action sets up the Algolia CLI, algolia
, on GitHub's hosted Actions runners.
This action can be run on ubuntu-latest
and macos-latest
GitHub Actions runners, and will install and expose a specified version of the algolia
CLI on the runner environment.
Setup the algolia
CLI:
steps:
- uses: algolia/setup-algolia-cli@v1
A specific version of the algolia
CLI can be installed:
steps:
- uses: algolia/setup-algolia-cli@v1
with:
version:
1.1.0
The credentials for the algolia
CLI can be set using the ALGOLIA_APPLICATION_ID
and ALGOLIA_ADMIN_API_KEY
environment variables:
steps:
- uses: algolia/setup-algolia-cli@v1
env:
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
ALGOLIA_ADMIN_API_KEY: ${{ secrets.ALGOLIA_ADMIN_API_KEY }}
The actions supports the following inputs:
version
: The version ofalgolia
to install, defaulting tolatest
Read the Algolia CLI documentation to learn more about the algolia
CLI.
MIT.