Skip to content

fix(build): maven config for release plugin #27

fix(build): maven config for release plugin

fix(build): maven config for release plugin #27

Workflow file for this run

name: Deploy Snapshots
on:
push:
branches:
- main
- develop
- 'develop-jakartaee-*'
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'temurin'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish snapshot
run: mvn deploy -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}