-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use pyTooling/Actions/with-post-step for commands in run and post…
…-run
- Loading branch information
1 parent
d69244b
commit e924275
Showing
4 changed files
with
20 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# Set verbose execution | ||
set -x | ||
# Navigate to the specified directory | ||
cd $1 | ||
# Check for unexpected changes | ||
# Fail if git status detects changes, ignoring: | ||
# - Files ending with 'junit.xml' (cf. scripts/ci-collect-testruns.sh, invoked by ../post-test/action.yml) | ||
# - The untracked file 'endo-sha.txt' (cf. ./action.yml) | ||
changes=$(git status --porcelain | grep -vE '/junit\.xml$' | grep -vFx '?? endo-sha.txt') | ||
if [ -n "$changes" ]; then | ||
git status | ||
echo "Unexpected dirty git status in Agoric SDK path" | ||
exit 1 | ||
fi |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.