Skip to content

Commit eed9188

Browse files
Upload vulnerability reports
1 parent 15d278a commit eed9188

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,16 @@ jobs:
308308
) >> $GITHUB_STEP_SUMMARY
309309
fi
310310
311+
LEEWAY_BUILD_DIR=${LEEWAY_BUILD_DIR:-/workspace/.leeway/build}
312+
echo "leeway_vulnerability_reports_dir=$LEEWAY_BUILD_DIR/vulnerability-reports/$(ls -Art $LEEWAY_BUILD_DIR/vulnerability-reports/ | tail -n 1)" >> $GITHUB_OUTPUT
313+
311314
exit $RESULT
315+
- name: Upload vulnerability reports
316+
uses: actions/upload-artifact@v4
317+
if: success()
318+
with:
319+
name: vulnerability-reports
320+
path: ${{ steps.leeway.outputs.leeway_vulnerability_reports_dir }}
312321
- name: Tag the release
313322
if: github.ref == 'refs/heads/main'
314323
run: |

0 commit comments

Comments
 (0)