Skip to content

Update dependency org.jetbrains:annotations to v24.1.0 (#62) #131

Update dependency org.jetbrains:annotations to v24.1.0 (#62)

Update dependency org.jetbrains:annotations to v24.1.0 (#62) #131

name: Publish to Nexus
on:
push:
branches:
- main
- dev*
- feature/*
- fix/*
jobs:
build:
environment: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 18
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 18
- 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 }}