Skip to content

Implement support for Client Side Token Generation #103

Implement support for Client Side Token Generation

Implement support for Client Side Token Generation #103

Workflow file for this run

name: Build
on:
pull_request:
push:
branches:
- main
# This allows us to manually run this job.
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- uses: gradle/gradle-build-action@v2
- name: Build and run tests
run: ./gradlew build
- name: Deploy SNAPSHOT to Maven Central
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: ./gradlew publish --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_REPO_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_REPO_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_PASSPHRASE }}