Skip to content

fix cancel all test #48

fix cancel all test

fix cancel all test #48

name: Build Maven project
on:
push:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Checkout project sources
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: maven
overwrite-settings: true
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Run build with Maven Wrapper
run: ./mvnw -DskipTests --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}