File tree 1 file changed +6
-11
lines changed
Filter options
1 file changed +6
-11
lines changed
Original file line number Diff line number Diff line change @@ -2,28 +2,23 @@ name: Licensed
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
- branches : [main]
8
- repository_dispatch :
9
- workflow_dispatch :
8
+ branches :
9
+ - main
10
10
11
11
jobs :
12
12
test :
13
13
runs-on : ubuntu-latest
14
14
name : Check licenses
15
15
steps :
16
16
- uses : actions/checkout@v2
17
- - uses : actions/cache@v2
18
- with :
19
- path : ~/.npm
20
- key : ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
21
- restore-keys : ${{runner.os}}-npm-
22
17
- run : npm ci
23
18
- name : Install licensed
24
- run : |-
19
+ run : |
25
20
cd $RUNNER_TEMP
26
- curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.9 .2/licensed-2.9 .2-linux-x64.tar.gz
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
27
22
sudo tar -xzf licensed.tar.gz
28
23
sudo mv licensed /usr/local/bin/licensed
29
24
- run : licensed status
You can’t perform that action at this time.
0 commit comments