Skip to content

loilo-inc/actions-setup-cage

Repository files navigation

actions-setup-cage

Github Actions to setup canarycage

Usage

github-token is required.

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: loilo-inc/actions-setup-cage@{version}
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Cage Version

By default, if no cage-version specified in step parameters, the latest version of cage will be resolved and installed automatically. This is highly recommended.

If you need to set specified version of cage, add cage-version param.

      - uses: loilo-inc/actions-setup-cage@{version}
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          cage-version: 3.4.2