From 7ad34f6fa489d242454190441ece94a2b6a3cd38 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Wed, 11 Sep 2024 21:05:47 +0700 Subject: [PATCH] ci: skip renaming of OpenAPI specification when the release is made from the tag (#1347) Signed-off-by: Yurii Shynbuiev --- .github/workflows/release-clients.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-clients.yml b/.github/workflows/release-clients.yml index c77bb225e3..ec9c5e34a2 100644 --- a/.github/workflows/release-clients.yml +++ b/.github/workflows/release-clients.yml @@ -87,6 +87,7 @@ jobs: path: ./cloud-agent/service/api/http - name: Rename OpenAPI specification + if: ${{ !inputs.releaseTag }} working-directory: cloud-agent/service/api/http run: | mv cloud-agent-openapi-spec-${{ inputs.revision }}.yaml cloud-agent-openapi-spec.yaml