File tree 1 file changed +16
-16
lines changed
1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ jobs:
13
13
fossa :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - name : Checkout
17
- uses : actions/checkout@v2
18
- - name : Fossa init
19
- run : |-
20
- curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21
- fossa init
22
- - name : Set env
23
- run : echo ::set-env name= line_number:: $(grep -n "project" .fossa.yml | cut -f1 -d:)
24
- - name : Configuration
25
- run : |-
26
- sed -i "${line_number}s|.*| project: [email protected] :${GITHUB_REPOSITORY}.git|" .fossa.yml
27
- cat .fossa.yml
28
- - name : Upload dependencies
29
- run : fossa analyze --debug
30
- env :
31
- FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
16
+ - name : Checkout
17
+ uses : actions/checkout@v2
18
+ - name : Fossa init
19
+ run : |-
20
+ curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21
+ fossa init
22
+ - name : Set env
23
+ run : echo " line_number= $(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
24
+ - name : Configuration
25
+ run : |-
26
+ sed -i "${line_number}s|.*| project: [email protected] :${GITHUB_REPOSITORY}.git|" .fossa.yml
27
+ cat .fossa.yml
28
+ - name : Upload dependencies
29
+ run : fossa analyze --debug
30
+ env :
31
+ FOSSA_API_KEY : ${{ secrets.FOSSA_API_KEY }}
You can’t perform that action at this time.
0 commit comments