-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: force windows compiler to run in
out_dir
to prevent artifacts …
…in cwd (#1415)
- Loading branch information
Showing
3 changed files
with
46 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Check Clean Git Working Tree" | ||
description: "Check that the git working tree is clean" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Check clean Git working tree | ||
shell: bash | ||
run: | | ||
status_output=$(git status --porcelain=v1) | ||
if [ -z "$status_output" ]; then | ||
echo "Git working tree is clean." | ||
exit 0 | ||
else | ||
echo "dirty Git working tree detected!" | ||
echo "$status_output" | ||
exit 1 | ||
fi |
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