diff --git a/.github/workflows/java-gradle.yaml b/.github/workflows/java-gradle.yaml index 89261bd1..4509a767 100644 --- a/.github/workflows/java-gradle.yaml +++ b/.github/workflows/java-gradle.yaml @@ -2107,7 +2107,8 @@ jobs: gpg-key-password: ${{ secrets.GIT_CRYPT_KEY_PASSWORD }} - uses: milaboratory/github-ci/blocks/node/sign-and-publish@v4 - if: github.ref_name == inputs.release-branch-name + if: steps.context.outputs.is-release == 'true' + && github.ref_name == inputs.release-branch-name with: artifact-name: ${{ inputs.product-name-slug }} build-version: ${{ steps.context.outputs.current-version }} diff --git a/actions/docker/pl-compose/docker-compose.yaml b/actions/docker/pl-compose/docker-compose.yaml index e648c814..79547ff9 100644 --- a/actions/docker/pl-compose/docker-compose.yaml +++ b/actions/docker/pl-compose/docker-compose.yaml @@ -22,7 +22,7 @@ services: max-file: "4" environment: # dump platforma's configuration to stdout - - "PL_DUMP_CONFIG_BEFORE_RUN=true" + - "PL_DUMP_CONFIG_BEFORE_RUN=${PL_DUMP_CONFIG_BEFORE_RUN:-false}" # license settings - "MI_LICENSE=${MI_LICENSE:-}" - "PL_LICENSE=${PL_LICENSE:-}" diff --git a/blocks/pl/linux/test-pl-docker-pnpm/action.yaml b/blocks/pl/linux/test-pl-docker-pnpm/action.yaml index 9317e456..319b37b2 100644 --- a/blocks/pl/linux/test-pl-docker-pnpm/action.yaml +++ b/blocks/pl/linux/test-pl-docker-pnpm/action.yaml @@ -193,3 +193,13 @@ runs: name: pl-docker-logs path: | ${{ env.PL_LOG_DIR }} + + - name: Clean Platforma logs + if: always() && env.UPLOAD_LOGS == 'true' + uses: milaboratory/github-ci/actions/shell@v4 + env: + PL_LOG_DIR: ${{ format('{0}/{1}', github.workspace, inputs.pl-log-dir) }} + with: + dump-stdout: false + run: | + rm -rfv "${PL_LOG_DIR})" \ No newline at end of file