From 5495a0fa7b906e2a8cb0b2cc2da2294c0f828945 Mon Sep 17 00:00:00 2001 From: "fabrizio.scarponi" Date: Fri, 8 Nov 2024 11:06:21 +0100 Subject: [PATCH] Remove redundant Gradle publish steps Removed duplicate steps that publish libraries from GitHub workflows `publish-release.yml` and `publish-snapshot.yml.disabled`. This cleanup ensures that only the necessary steps for publishing to TBE are executed, simplifying the workflows. --- .github/workflows/publish-release.yml | 2 -- .github/workflows/publish-snapshot.yml.disabled | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 651d9df9..20182692 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -30,8 +30,6 @@ jobs: java-version: '17' distribution: 'zulu' - uses: gradle/gradle-build-action@v3 - - name: Publish libraries - run: ./gradlew publishAllPublicationsToSpaceRepository - name: Publish release plugin to TBE env: KMP: true diff --git a/.github/workflows/publish-snapshot.yml.disabled b/.github/workflows/publish-snapshot.yml.disabled index 79d2394e..f1040305 100644 --- a/.github/workflows/publish-snapshot.yml.disabled +++ b/.github/workflows/publish-snapshot.yml.disabled @@ -30,7 +30,5 @@ jobs: distribution: 'zulu' cache: gradle - uses: gradle/gradle-build-action@v2 - - name: Publish libraries - run: ./gradlew publishAllPublicationsToSpaceRepository - name: Publish plugin snapshot to TBE run: ./gradlew :plugin:publishSnapshotPluginToTBE