Skip to content

[deps]: Bump junit.version from 5.10.3 to 5.11.0 (#2318) #51

[deps]: Bump junit.version from 5.10.3 to 5.11.0 (#2318)

[deps]: Bump junit.version from 5.10.3 to 5.11.0 (#2318) #51

name: Snapshot build
on:
push:
branches: [ 'master' ]
jobs:
publish:
if: |
github.repository == 'javalin/javalin' &&
!contains(github.event.head_commit.message, '[maven-release-plugin] prepare release')
name: Publish snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK11
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Grant execute permission for mvnw
run: chmod +x ./mvnw
- uses: s4u/[email protected]
with:
servers: |
[{
"id": "reposilite-repository",
"username": "${{ secrets.MAVEN_NAME }}",
"password": "${{ secrets.MAVEN_SECRET }}"
}]
- name: Publish with Maven
run: ./mvnw -DRunningOnCi=true clean deploy --file pom.xml --batch-mode -P publish-snapshot