Skip to content

Don't use StringBuilder in getValidSsn since length could be predicte… #864

Don't use StringBuilder in getValidSsn since length could be predicte…

Don't use StringBuilder in getValidSsn since length could be predicte… #864

Workflow file for this run

name: Publish package to the Maven Central Repository
on:
push:
branches: [ main ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Configure GPG Key
run: |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import --no-tty --batch --yes
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
- uses: actions/checkout@v4
with:
ref: 'main'
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: ./mvnw --batch-mode -Dstyle.color=always deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}