Skip to content

Commit

Permalink
update error msg
Browse files Browse the repository at this point in the history
Signed-off-by: pratik-parikh01 <pgppratik@gmail.com>
  • Loading branch information
pratik-parikh01 committed Oct 8, 2024
1 parent 8eb1a63 commit b45834c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,5 @@ jobs:
if: matrix.target == 'binaries'
run: |
./bin/registry-api-descriptor-template ./docs/content/spec/api.md.tmpl > /tmp/api.md
echo "Ensuring that you have run the following before pushing your commits: make binaries && ./bin/registry-api-descriptor-template ./docs/content/spec/api.md.tmpl > ./docs/content/spec/api.md"
diff docs/content/spec/api.md /tmp/api.md -q
result=$?
if [ "$result" != 0 ]
then
echo "::error::Ensure you have run the following before pushing your commits: make binaries && ./bin/registry-api-descriptor-template ./docs/content/spec/api.md.tmpl > ./docs/content/spec/api.md"
exit 1
fi

0 comments on commit b45834c

Please sign in to comment.