Skip to content

Update plugin de.chojo.publishdata to v1.3.0 #36

Update plugin de.chojo.publishdata to v1.3.0

Update plugin de.chojo.publishdata to v1.3.0 #36

name: Publish to Nexus
on:
workflow_dispatch:
push:
branches:
- master
- dev*
- feature/*
jobs:
build:
environment: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up JDK 15
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 15
- 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 }}