File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Dependency License Scanning
3
3
on :
4
4
push :
5
5
branches :
6
+ - chore/fossa-workflow
6
7
- main
7
8
8
9
defaults :
@@ -14,11 +15,14 @@ jobs:
14
15
runs-on : ubuntu-latest
15
16
steps :
16
17
- name : Checkout
17
- uses : actions/checkout@v2
18
- - name : Fossa init
18
+ uses : actions/checkout@v3
19
+ - name : Download fossa cli
19
20
run : |-
20
- curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21
- fossa init
21
+ mkdir -p $HOME/.local/bin
22
+ curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash -s -- -b $HOME/.local/bin
23
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
24
+ - name : Fossa init
25
+ run : fossa init
22
26
- name : Set env
23
27
run : echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
24
28
- name : Configuration
You can’t perform that action at this time.
0 commit comments