Skip to content

Maven Release

Maven Release #6

Workflow file for this run

# Description
# -----------
# This workflow builds and releases the maven artifact
#
# Setup
# -----
# 1. Create the following secrets inside GitHub:
# - LMS_GIT_CONFIG (Base64 encoded .gitconfig file)
name: Maven Release
on:
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Setup git and other necessary files
run: |
echo -n '${{ secrets.LMS_GIT_CONFIG }}' | base64 -d > ~/.gitconfig
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Release prepare/perform
run: mvn clean release:prepare release:perform -B