Skip to content

Rename PINInformation.java to PinInformation.java #39

Rename PINInformation.java to PinInformation.java

Rename PINInformation.java to PinInformation.java #39

Workflow file for this run

name: release-to-maven-central
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 16
uses: actions/setup-java@v1
with:
java-version: 16
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Build with Maven
run: mvn -B verify --file LoginRadius-JavaSDK/pom.xml
- name: Set up Apache Maven Central
uses: actions/setup-java@v1
with: # running setup-java again overwrites the settings.xml
java-version: 16
distribution: 'adopt'
server-id: ossrh
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
- name: Publish to Apache Maven Central
run: mvn --batch-mode deploy --file LoginRadius-JavaSDK/pom.xml
env:
MAVEN_USERNAME: ${{secrets.MAVEN_USERNAME}}
MAVEN_CENTRAL_TOKEN: ${{secrets.MAVEN_PASSWORD}}
MAVEN_OPTS: ${{secrets.MAVEN_OPTS}}