From f98352fd52f260afdd0b5778e990ba4f5d15ee42 Mon Sep 17 00:00:00 2001 From: Yurii Shynbuiev Date: Fri, 16 Aug 2024 15:40:54 +0700 Subject: [PATCH] chore: another try #8 Signed-off-by: Yurii Shynbuiev --- .github/workflows/build.yml | 4 ++++ .github/workflows/release-clients.yml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9ad203985..9b86815307 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,9 @@ jobs: with: java-version: openjdk@1.17 + - uses: coursier/cache-action@v6 + id: coursier-cache + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -129,6 +132,7 @@ jobs: echo "REVISION_VERSION=${{ env.REVISION_VERSION }}" >> $GITHUB_ENV echo "OAS_CHECKSUM=${{ env.OAS_CHECKSUM }}" >> $GITHUB_ENV echo "OAS_PUBLISHED=${{ env.OAS_PUBLISHED }}" >> $GITHUB_ENV + echo "Coursier cache: ${{ steps.coursier-cache.outputs.cache-hit }}" build-and-publish-clients: needs: build diff --git a/.github/workflows/release-clients.yml b/.github/workflows/release-clients.yml index db8e89c951..896cd09b6b 100644 --- a/.github/workflows/release-clients.yml +++ b/.github/workflows/release-clients.yml @@ -84,6 +84,12 @@ jobs: name: cloud-agent-openapi-spec-${{ inputs.check_sum }} path: ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml + - name: WTF + 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 + - name: Set revision version if: ${{ !inputs.releaseTag }} working-directory: cloud-agent/client/generator