This action sets up Score environment for use in GitHub actions.
It downloads and caches a version of Score CLI tools and adds them to PATH.
See action.yaml
steps:
- uses: score-spec/setup-score@v2
with:
file: score-compose
version: latest
token: ${{ secrets.GITHUB_TOKEN }}
- run: score-compose --versionNote:
tokenshould be set when thelatestversion is used. It is required by the action to pull the latest release details via GitHub API, and the token provided should have contents: read permission to fetch data from theGitHub.com.