Skip to content

Commit b7b83e5

Browse files
committed
Correct project for fossa cli
1 parent 4b7d4d0 commit b7b83e5

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/fossa-analyze.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@ jobs:
4343
uses: gradle/actions/setup-gradle@v3
4444
with:
4545
gradle-version: wrapper
46-
- uses: fossas/fossa-action@v1
47-
with:
48-
api-key: ${{secrets.FOSSA_API_KEY}}
49-
branch: ${{ github.event.pull_request.head.ref }}
50-
- uses: fossas/fossa-action@v1
51-
with:
52-
api-key: ${{secrets.FOSSA_API_KEY}}
53-
run-tests: true
46+
- name: Install fossa cli
47+
run: "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash"
48+
- name: Run FOSSA analyze
49+
run: fossa analyze --project git+github.com/OptimumCode/json-schema-validator --branch ${{ github.event.pull_request.head.ref }}
50+
env:
51+
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}
52+
- name: Run FOSSA analyze
53+
run: fossa test --project git+github.com/OptimumCode/json-schema-validator
54+
env:
55+
FOSSA_API_KEY: ${{secrets.FOSSA_API_KEY}}

0 commit comments

Comments
 (0)