Skip to content

Lamp v4: Release Candidate 2 #34

Lamp v4: Release Candidate 2

Lamp v4: Release Candidate 2 #34

Workflow file for this run

name: Build
on:
release:
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
environment: Maven Central
permissions:
contents: read
packages: write
steps:
- name: Checkout Project
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Gradle Build
run: |
chmod +x ./gradlew
./gradlew build
- name: Gradle Publish
run: ./gradlew publishAndReleaseToMavenCentral
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.MAVEN_SIGNING_KEY_ID }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_SIGNING_PASSWORD }}