From 66ddec27da235b8c766da66f42a4d2a1f48f544b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergej=20Ko=C5=A1=C4=8Dejev?= Date: Wed, 9 Oct 2024 11:54:20 +0200 Subject: [PATCH] Do not publish on every push Publishing will be triggered manually on TeamCity. --- .github/workflows/gradle.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index f3a8656..1b116f4 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -16,19 +16,3 @@ jobs: distribution: 'adopt' - name: Test packaging run: ./gradlew testPackaging - publish: - runs-on: ubuntu-latest - needs: test-packaging - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/mps/') - steps: - - uses: actions/checkout@v4 - - name: Set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '11' - distribution: 'adopt' - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Publish to Github Packages - run: ./gradlew publishAllPublicationsToGitHubPackagesRepository -Pgpr.user=${{github.actor}} -Pgpr.token=${{ secrets.GITHUB_TOKEN }} -