Skip to content

Update dependency org.jetbrains:annotations to v26 #106

Update dependency org.jetbrains:annotations to v26

Update dependency org.jetbrains:annotations to v26 #106

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