Skip to content

score-spec/setup-score

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Oct 19, 2024
Aug 16, 2023
Aug 16, 2023
Jun 27, 2022
Jun 27, 2022
Jun 27, 2022
Oct 16, 2024
May 3, 2024
Nov 8, 2022
Jan 20, 2025
Jan 20, 2025

Repository files navigation

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

Basic

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 permission to fetch data from the GitHub.com.