mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 08:06:23 +00:00
Use jonabc/setup-licensed in Licensed workflow
This commit is contained in:
12
.github/workflows/licensed.yml
vendored
12
.github/workflows/licensed.yml
vendored
@@ -14,11 +14,11 @@ jobs:
|
|||||||
name: Check licenses
|
name: Check licenses
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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
|
- 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
|
- run: licensed status
|
||||||
|
|||||||
Reference in New Issue
Block a user