fix(specs): remove private beta endpoint from recommend [skip-bc] (ge… #281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish jar | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Publish to Sonatype | |
runs-on: ubuntu-22.04 | |
if: "startsWith(github.event.head_commit.message, 'chore: release')" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version-file: .java-version | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Upload Artifacts | |
run: ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache | |
env: | |
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }} | |
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_PRIVATE_KEY_ID }} | |
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PRIVATE_KEY_PASSWORD }} |