diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 672df052018..a5f47ea7c6a 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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