From 5d15f00c0231d76a0f3635afac9432562a491395 Mon Sep 17 00:00:00 2001 From: Maxime Biais Date: Thu, 11 Apr 2024 16:57:33 +0200 Subject: [PATCH] Check that OpenAPI generation works as expected --- .buildkite/pipeline.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 662dcbd7..e5be0ca1 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -49,3 +49,10 @@ steps: notify: - github_commit_status: context: "Publish :gravatar" + + # Run it after building step so the generated files are not bundled with the release + - label: "OpenAPI generation" + command: | + echo "--- ⚒️ Generating OpenAPI code" + ./gradlew :gravatar:openApiGenerate +