Bump net.citizensnpcs:citizens-main from 2.0.36-SNAPSHOT to 2.0.37-SNAPSHOT #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Maven Build | |
on: | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write # Access to Publish a Release | |
packages: write # Access to Publish a Package | |
#-------------------------------------------------------------------------------------------- | |
# Build the Artifact and Publish to Luxious Repository | |
#-------------------------------------------------------------------------------------------- | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml | |
settings-path: ${{ github.workspace }} # location for the settings.xml file | |
# Configure Gradle for optimal use in GiHub Actions, including caching of downloaded dependencies. | |
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0 | |
with: | |
gradle-version: '8.7' | |
- name: Build with Gradle 8.7 | |
run: gradle build | |
env: | |
LUXIOUS_NEXUS_USER: ${{ secrets.MAVEN_NAME }} | |
LUXIOUS_NEXUS_PASS: ${{ secrets.MAVEN_SECRET }} |