Skip to content

Refactor POM files to remove redundant properties and update Maven co… #1

Refactor POM files to remove redundant properties and update Maven co…

Refactor POM files to remove redundant properties and update Maven co… #1

name: Deploy to Maven Central
on:
workflow_dispatch:
jobs:
deploy:
name: Deploy to Maven Central
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
- name: Deploy with Maven
run: |
./mvnw -B clean install -DskipTests

Check failure on line 22 in .github/workflows/deploy-maven-central.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-maven-central.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
./mvnw -B clean deploy -Psonatype