Skip to content

chore(deps): update actions/checkout action to v4 (#263) #214

chore(deps): update actions/checkout action to v4 (#263)

chore(deps): update actions/checkout action to v4 (#263) #214

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@v3
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 }}