Setup Castor with static binary for GitHub Actions.
steps:
- name: Setup Castor
uses: castor-php/setup-castor@v0.1.0Specify using
withkeyword
- Specify the GitHub token to use for downloading the Castor binary on GitHub.
- Specify the Castor version you want to set up.
- Accepts a
stringcorresponding to a Castor release tag. For example'v0.18.0'. - Accepts
latestto set up the latest stable PHP version. - Accepts
nightlyto set up a nightly build from the master branch of Castor.
Set up a particular Castor version.
steps:
- name: Setup Castor
uses: castor-php/setup-castor@v0.1.0
with:
version: 'v0.18.0'