Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/score-spec/setup-score
setup-score GitHub action
https://github.com/score-spec/setup-score
score score-compose score-k8s
Last synced: 3 months ago
JSON representation
setup-score GitHub action
- Host: GitHub
- URL: https://github.com/score-spec/setup-score
- Owner: score-spec
- Created: 2022-06-22T11:13:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T21:14:59.000Z (3 months ago)
- Last Synced: 2024-11-04T22:22:32.593Z (3 months ago)
- Topics: score, score-compose, score-k8s
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/setup-score-environment
- Size: 426 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setup-score
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.
# Usage
See [action.yaml](action.yaml)
## Basic
```yaml
steps:
- uses: score-spec/setup-score@v2
with:
file: score-compose
version: latest
token: ${{ secrets.GITHUB_TOKEN }}
- run: score-compose --version
```> **Note:** `token` should be set when the `latest` version 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](https://docs.github.com/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28#contents) permission to fetch data from the `GitHub.com`.