Skip to content

feat: VSDSPUB-1315: Cleanup EDC (#10) #1

feat: VSDSPUB-1315: Cleanup EDC (#10)

feat: VSDSPUB-1315: Cleanup EDC (#10) #1

name: 1.a Build & Test Project
on:
workflow_dispatch:
push:
branches: [ "main" ]
env:
REGISTRY: ghcr.io
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'zulu'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_PGP_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Build & Publish Package
run: ./gradlew clean build publish --stacktrace
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_PGP_PRIVATE_KEY: ${{ secrets.OSSRH_PGP_PRIVATE_KEY }}
OSSRH_PGP_SECRET_KEY_PASSPHRASE: ${{ secrets.OSSRH_PGP_SECRET_KEY_PASSPHRASE }}