We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0b86ec commit ddb38f3Copy full SHA for ddb38f3
.github/workflows/fossa.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
branches:
6
- main
7
+ - chore/fossa-workflow
8
9
defaults:
10
run:
@@ -15,10 +16,14 @@ jobs:
15
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v2
- - name: Fossa init
19
+ - name: Download fossa cli
20
run: |-
- curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install.sh | bash
21
- fossa init
+ 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
27
- name: Set env
28
run: echo "line_number=$(grep -n "project" .fossa.yml | cut -f1 -d:)" >> $GITHUB_ENV
29
- name: Configuration
0 commit comments