license-checker icon indicating copy to clipboard operation
license-checker copied to clipboard

Github marketplace

Open fuhuifang opened this issue 2 years ago • 2 comments

Hi, I've been using the following action in my workflow smoothly, but recently it is breaking with error "Unable to resolve actions. Repository not found: kt3k/license_checker."

- name: License Checker
  uses: kt3k/[email protected]

So I tried to update it to the following based on https://github.com/marketplace/actions/license-checker

- name: License Checker
  uses: kt3k/[email protected]

but it failed with error "Error: unzip is required to install Deno". What is the correct way to use your license checker in a github workflow?

fuhuifang avatar Nov 07 '22 22:11 fuhuifang

Update: kt3k/[email protected] works, but please let me know if there's a better way.

fuhuifang avatar Nov 08 '22 00:11 fuhuifang

The below should work:

run: npx @kt3k/license-checker

If you prefer Deno, then:

- uses: denoland/setup-deno@v1
  with:
    deno-version: v1.x
- run: deno run --allow-read https://deno.land/x/[email protected]/main.ts

kt3k avatar Nov 08 '22 06:11 kt3k