Skip to content

Commit

Permalink
Publishing Maven libraries using GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarchel7bulls authored and rudi committed Aug 1, 2024
1 parent b706f11 commit d222652
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy Maven Package

on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17' # Use the JDK version your project requires
distribution: 'adopt-openjdk'

- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
mvn clean deploy -Pgithub

0 comments on commit d222652

Please sign in to comment.