Skip to content

Commit

Permalink
more verbose message
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Dec 13, 2024
1 parent c1efb6b commit 703dc55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ runs:
spack -e myenv find --no-groups -X > specs.txt
if grep -qE "@develop|@master|@main" specs.txt; then
echo "Error: Found develop dependencies (@develop, @master, or @main) in specs.txt." >&2
echo "------ specs are the following:" >&2
cat specs.txt >&2
exit 1
else
echo "No develop dependencies found. Workflow can proceed."
Expand All @@ -98,6 +100,8 @@ runs:
spack -e myenv find --no-groups > specs.txt
if grep -qE "@develop|@master|@main" specs.txt; then
echo "Error: Found develop dependencies (@develop, @master, or @main) in specs.txt." >&2
echo "------ specs are the following:" >&2
cat specs.txt >&2
exit 1
else
echo "No develop dependencies found. Workflow can proceed."
Expand Down

0 comments on commit 703dc55

Please sign in to comment.