Back to Flux2

Flux GitHub Action

action/README.md

2.8.6835 B
Original Source

Flux GitHub Action

To install the latest Flux CLI on Linux, macOS or Windows GitHub runners:

yaml
steps:
  - name: Setup Flux CLI
    uses: fluxcd/flux2/action@main
    with:
      version: 'latest'
  - name: Run Flux CLI
    run: flux version --client

The Flux GitHub Action can be used to automate various tasks in CI, such as:

For more information, please see the Flux GitHub Action documentation.