Skip to content

Commit 87fc4cf

Browse files
committed
Always archive test results
1 parent 4b5a3a9 commit 87fc4cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/reusable-dotnet-quality.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
- name: Create FOSSA report file
171171
if: ${{ inputs.fossa-enabled && steps.fossa.outputs.report != '' }}
172172
run: echo '${{ steps.fossa.outputs.report }}' > report/fossa.html
173+
continue-on-error: true
173174
- name: Generate SBOM with Syft
174175
uses: anchore/sbom-action@v0
175176
# with:
@@ -178,6 +179,7 @@ jobs:
178179
# output-file: sbom.json
179180
# upload-artifact: true # Auto-upload to workflow artifacts
180181
- name: Archive test results
182+
if: always()
181183
uses: actions/upload-artifact@v4
182184
with:
183185
name: dotnet-test-results

0 commit comments

Comments
 (0)