[workflow]: Bump codecov/codecov-action from 4.3.1 to 4.4.0 (#2252) #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |