Github Actions to setup canarycage
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 }}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.2If you want to use prerelease (RC) version of cage, add use-pre param.
- uses: loilo-inc/actions-setup-cage@{version}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
use-pre: true