diff --git a/.github/workflows/release-clients.yml b/.github/workflows/release-clients.yml index 57dbe299b3..db8e89c951 100644 --- a/.github/workflows/release-clients.yml +++ b/.github/workflows/release-clients.yml @@ -71,13 +71,11 @@ jobs: - name: Setup yq - portable yaml processor uses: mikefarah/yq@v4.34.2 - - name: What is going on???? - continue-on-error: true - run: | - echo ${{ github.event_name }} - - name: Delete existing Open API specification - run: rm -f ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml + if: ${{ !inputs.releaseTag }} + run: | + echo "Current directory: $(pwd)" + rm -f ./cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml - name: Download OpenAPI specification if: ${{ !inputs.releaseTag }}