Skip to content

Commit

Permalink
Merge pull request #55 from breedx-splk/publish_snapshot_on_main_merge
Browse files Browse the repository at this point in the history
Publish snapshots with every merge to main
  • Loading branch information
breedx-splk authored Aug 31, 2023
2 parents a8f7e6d + cbf20f8 commit 14d04f9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ jobs:
with:
distribution: temurin
java-version: 17.0.6
# TODO: Build and publish a snapshot instead!
- name: run gradle
- name: run gradle check
run: ./gradlew check
- name: publish snapshot
# final=false here means SNAPSHOT
run: ./gradlew publishMavenPublicationToSonatypeRepository -Prelease=true -Pfinal=false
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_KEY: ${{ secrets.SONATYPE_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}

workflow-notification:
needs:
Expand Down

0 comments on commit 14d04f9

Please sign in to comment.