Skip to content

Commit

Permalink
Use jonabc/setup-licensed in Licensed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmgross committed Jan 6, 2022
1 parent faea5b2 commit df46368
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/licensed.yml
Expand Up @@ -14,11 +14,11 @@ jobs:
name: Check licenses
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1
- uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2
with:
version: '3.x'
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status

0 comments on commit df46368

Please sign in to comment.