chore: Upload artifacts from Github CI #1
Workflow file for this run
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 snapshot SDK to the oss.sonatype.org | ||
on: | ||
pull_request: | ||
paths: | ||
- '**/*' | ||
env: | ||
ORG_GRADLE_PROJECT_ossrhUsername: ${{ secrets.OSSRH_USERNAME }} | ||
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }} | ||
jobs: | ||
lint-test-sdk: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java-version: 17 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up JDK ${{ matrix.java-version }} | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: 'adopt' | ||
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
- name: Publish Snapshot artifact | ||
run: ./gradlew publish --no-daemon |