Skip to content

Commit 719f200

Browse files
feat: splitting fossa-scan into two jobs (#131)
1 parent a602f81 commit 719f200

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/reusable-build-test-release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ jobs:
185185
uses: splunk/addonfactory-test-matrix-action@v1.8
186186

187187
fossa-scan:
188-
continue-on-error: true
189188
runs-on: ubuntu-latest
190189
needs:
191190
- setup-workflow
@@ -204,8 +203,18 @@ jobs:
204203
with:
205204
name: THIRDPARTY
206205
path: /tmp/THIRDPARTY
206+
207+
fossa-test:
208+
continue-on-error: true
209+
runs-on: ubuntu-latest
210+
needs:
211+
- fossa-scan
212+
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
213+
steps:
214+
- uses: actions/checkout@v3
207215
- name: run fossa test
208216
run: |
217+
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
209218
fossa test --debug
210219
env:
211220
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

0 commit comments

Comments
 (0)