File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ - chore/fossa-workflow
78
89defaults :
910 run :
@@ -15,10 +16,14 @@ jobs:
1516 steps :
1617 - name : Checkout
1718 uses : actions/checkout@v2
18- - name : Fossa init
19+ - name : Download fossa cli
1920 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+
25+ - name : Fossa init
26+ run : fossa init
2227 - name : Set env
2328 run : echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
2429 - name : Configuration
You can’t perform that action at this time.
0 commit comments