Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Setup github/licensed

Actions
Setup github/licensed for use in GitHub Actions workflows
v1.1.2
Verified creator
Star (19)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

setup-licensed

Set up github/licensed for use in action workflows, at the specified version input and target platform.. The action will install the licensed gem in environments that support rubygems, or an executable when rubygems isn't available.

The action will fail if licensed isn't available for the specified version and target platform. Licensed is currently supported on macOS and linux platforms.

Note: When installing a licensed executable, this action will overwrite any version of the executable already installed at the install-dir input.

Usage

See action.yml

list dependencies:

steps:
- uses: actions/checkout@v2
  with:
    fetch-depth: 0 # prefer to use a full fetch for licensed workflows
- uses: jonabc/setup-licensed@v1
  with:
    version: '2.x' # required: supports matching based on string equivalence or node-semver range
    install-dir: /path/to/install/at # optional: defaults to /usr/local/bin
    github_token: # optional: allows users to make authenticated requests to GitHub's APIs
- run: npm install # install dependencies in local environment
- run: licensed list

For an end-to-end solution to cache and check dependency metadata using GitHub Actions, see update_licenses.yaml

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome!

Setup github/licensed is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup github/licensed for use in GitHub Actions workflows
v1.1.2

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Setup github/licensed is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.