Skip to content

Commit

Permalink
NH-37575: use inputs to selectively run release jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverchuk committed Jun 28, 2024
1 parent b201fd4 commit ae434d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Build and Publish
uses: gradle/gradle-build-action@v3
with:
arguments: publish
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Publish
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The secrets are for publishing the build artifacts to the Maven Central.
Expand Down

0 comments on commit ae434d6

Please sign in to comment.