Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

github/setup-licensed

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

Repository files navigation

setup-licensed

Set up github/licensed for use in actions by installing an executable for the specified version input and target platform.

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

Note: this action will overwrite any version of the github/licensed executable already installed at the install-dir input.

Usage

See action.yml

list dependencies:

steps:
- uses: actions/checkout@master
- uses: jonabc/setup-licensed@v1
  with:
    version: '2.x' # required: must satisfy semver.validRange
    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!

About

Set up your GitHub Actions workflow with a specific version of github/licensed

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 12