Skip to content
zap

GitHub Action

Kalix CLI Action

v7.4 Latest version

Kalix CLI for GitHub Actions

This action has been superseded by the setup-kalix-action which installs the Kalix CLI for use in the GitHub workflow.

This action will not see further updates.

This action provides a wrapper for the Kalix CLI. The action executes whatever commands you specify, and requires you've created an authentication token first.

Usage

The action takes two required variables to authenticate and set the project you want to work on correctly:

  • token: The Kalix authentication token
  • project: The project ID for the Kalix project you're using

Example Workflow

The below flow shows how to use this action to list all services in your project

name: kalix

on: 
  push:
    branches: [ main ]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - name: List Services
              uses: lightbend/kalix-action@v7
              with:
                cmd: "services list"
              env:
                token: ${{ secrets.TOKEN }}
                project: ${{ secrets.PROJECT }}

Contributing

We welcome all contributions! Pull requests are the preferred way to share your contributions. For major changes, please open an issue first to discuss what you would like to change.

Support

This project is an end-of-life

License

See the LICENSE