From 1fb01541e1e6d37468b3d9cca7415e49f1ad371d Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Fri, 16 Aug 2024 15:56:46 +0700 Subject: [PATCH] chore: another try #9 Signed-off-by: Yurii Shynbuiev --- .github/workflows/build.yml | 2 +- .github/workflows/release-clients.yml | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b86815307..ce936fd5fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,6 @@ jobs: - name: Get short commit hash run: | echo "COMMIT_HASH=${GITHUB_SHA::7}" >> $GITHUB_ENV - echo "::set-output name=COMMIT_HASH::${COMMIT_HASH}" - name: Set build number run: echo "BUILD_NUMBER=${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV @@ -123,6 +122,7 @@ jobs: name: cloud-agent-openapi-spec-${{ env.OAS_CHECKSUM}} path: ./cloud-agent-openapi-spec-${{ env.REVISION_VERSION}}.yaml overwrite: true + compression-level: 0 - name: Set outputs id: set_outputs diff --git a/.github/workflows/release-clients.yml b/.github/workflows/release-clients.yml index 896cd09b6b..0c50a8a431 100644 --- a/.github/workflows/release-clients.yml +++ b/.github/workflows/release-clients.yml @@ -82,13 +82,18 @@ jobs: uses: actions/download-artifact@v3 with: name: cloud-agent-openapi-spec-${{ inputs.check_sum }} - path: ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml + path: ./cloud-agent/service/api/http - name: WTF + working-directory: cloud-agent/service/api/http run: | echo "Current directory: $(pwd)" - ls -la ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml - cat ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml + ls -la + echo "----" + mv cloud-agent-openapi-spec-${{ inputs.revision }}.yaml cloud-agent-openapi-spec.yaml + echo "----" + ls -la + cat cloud-agent-openapi-spec.yaml - name: Set revision version if: ${{ !inputs.releaseTag }}