Skip to content

chore(deps): update actions/checkout action to v4.2.0 (#277) #227

chore(deps): update actions/checkout action to v4.2.0 (#277)

chore(deps): update actions/checkout action to v4.2.0 (#277) #227

name: deploy-snapshot
on:
push:
branches:
- master
jobs:
deploy-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup JDK8 and Maven
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
server-id: ossrh-flacoco-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Deploy to Snapshot repository
run: mvn deploy --batch-mode -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}