Skip to content

Commit

Permalink
Do not publish on every push
Browse files Browse the repository at this point in the history
Publishing will be triggered manually on TeamCity.
  • Loading branch information
sergej-koscejev committed Oct 9, 2024
1 parent 7733474 commit 66ddec2
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 66ddec2

Please sign in to comment.