Skip to content

Commit df46368

Browse files
committed
Use jonabc/setup-licensed in Licensed workflow
1 parent faea5b2 commit df46368

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/licensed.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
name: Check licenses
1515
steps:
1616
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0 # prefer to use a full fetch for licensed workflows
19+
# https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1
20+
- uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2
21+
with:
22+
version: '3.x'
1723
- run: npm ci
18-
- name: Install licensed
19-
run: |
20-
cd $RUNNER_TEMP
21-
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
22-
sudo tar -xzf licensed.tar.gz
23-
sudo mv licensed /usr/local/bin/licensed
2424
- run: licensed status

0 commit comments

Comments
 (0)