Skip to content

Commit

Permalink
slight modification
Browse files Browse the repository at this point in the history
  • Loading branch information
mdorier committed Dec 13, 2024
1 parent 4172931 commit c1efb6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runs:
if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'true')}}
shell: bash
run: |
spack find --no-groups -X > specs.txt
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
exit 1
Expand All @@ -95,7 +95,7 @@ runs:
if: ${{ (inputs.build-cache-token != 'unspecified') && (inputs.push-only-dependencies == 'false')}}
shell: bash
run: |
spack find --no-groups > specs.txt
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
exit 1
Expand Down

0 comments on commit c1efb6b

Please sign in to comment.