-
Notifications
You must be signed in to change notification settings - Fork 376
Split debug artifacts PR check into two jobs #1160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
81c5b2d
cc047a3
13e7a52
64d83c7
ef145d6
f7a7ac1
f51da86
e16d085
4ec485d
2a582eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -51,8 +51,6 @@ jobs: | |||||
steps: | ||||||
- name: Download all artifacts | ||||||
uses: actions/download-artifact@v3 | ||||||
- name: Display structure of downloaded files | ||||||
run: ls -R | ||||||
- name: Check expected artifacts exist | ||||||
shell: bash | ||||||
run: | | ||||||
|
@@ -62,9 +60,9 @@ jobs: | |||||
for os in $OPERATING_SYSTEMS; do | ||||||
for version in $VERSIONS; do | ||||||
cd ./my-debug-artifacts-$os-$version | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Quotes not essential but a good habit.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah interesting.. I wonder if it fails if it will continue onto the next directory? Probably not.. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It will not. This is because by default Actions runs You can turn this off in a given step by adding There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Interesting! Thanks! |
||||||
echo "Checking version $version on $os" | ||||||
echo "Artifacts from version $version on $os:" | ||||||
for language in $LANGUAGES; do | ||||||
echo "Checking $language" | ||||||
echo "- Checking $language" | ||||||
if [[ ! -f "$language.sarif" ]] ; then | ||||||
echo "Missing a SARIF file for $language" | ||||||
exit 1 | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.