Skip to content

chore(deps): update actions/checkout action to v4.2.1 (#283) #234

chore(deps): update actions/checkout action to v4.2.1 (#283)

chore(deps): update actions/checkout action to v4.2.1 (#283) #234

name: deploy-snapshot
on:
push:
branches:
- master
jobs:
deploy-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.1
- 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 }}