From 503f2e8396a4224a55efe2b9869228389e6450f4 Mon Sep 17 00:00:00 2001 From: Fabrizio Scarponi <36624359+fscarponi@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:14:50 +0100 Subject: [PATCH] Remove redundant Gradle publish steps (#196) 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