Skip to content

Feature/paper legacy builds (#164) #220

Feature/paper legacy builds (#164)

Feature/paper legacy builds (#164) #220

name: Publish to Nexus
on:
workflow_dispatch:
push:
branches:
- master
- dev*
- feature/*
- release/*
- fix/*
jobs:
build:
environment: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 21
- name: Build with Gradle
run: ./gradlew --build-cache build
- name: Test with Gradle
run: ./gradlew test
- name: Publish to eldonexus
run: ./gradlew publishMavenPublicationToEldoNexusRepository
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}