Skip to content

wcm-io-devops/github-action-maven-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-maven-deploy

Composite GitHub Action that deploys Maven artifacts.

Usage example:

# Deploy snapshots to Sonatype OSS repository

name: Deploy

concurrency: ${{ github.workflow }}

on:
  push:
    branches:
      - develop
  workflow_dispatch:

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - name: Maven Deploy
        uses: wcm-io-devops/github-action-maven-deploy@v1
        with:
          java-version: 21
          maven-executable: ./mvnw
          sonatype-username: ${{ secrets.SONATYPE_USERNAME }}
          sonatype-password: ${{ secrets.SONATYPE_PASSWORD }}

For all parameters, see action.yml.

About

GitHub Action: Maven Deploy

Resources

License

Stars

Watchers

Forks

Contributors