fix: move env under deploy step from under integration tests by ewaostrowska · Pull Request #5129 · swagger-api/swagger-core (original) (raw)

In the #5119 a new "Verify BOM integration test" step was inserted immediately before the env: block. In YAML env: is scoped to the step it's nested under so it silently migrated from the deploy step to the new BOM step. ./mvnw clean deploy then ran without MAVEN_USERNAME/MAVEN_PASSWORD, causing the 401.

This should be fixed with this PR.