diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index cb893aaa..0db32e7a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -31,6 +31,14 @@ jobs: distribution: 'zulu' - uses: gradle/gradle-build-action@v3 - name: Publish libraries + id: simple-build-publish + continue-on-error: true + run: ./gradlew publishAllPublicationsToSpaceRepository + - name: Patch IDE config files + if: steps.simple-build-publish.outcome == 'failure' + run: kotlinc -script ./.github/workflows/TrustKotlinGradlePluginPatch.main.kts + - name: Publish libraries + if: steps.simple-build-publish.outcome == 'failure' run: ./gradlew publishAllPublicationsToSpaceRepository - name: Publish release plugin to TBE env: