Skip to content

build(deps): bump net.kyori:adventure-platform-bukkit from 4.3.3 to 4… #62

build(deps): bump net.kyori:adventure-platform-bukkit from 4.3.3 to 4…

build(deps): bump net.kyori:adventure-platform-bukkit from 4.3.3 to 4… #62

Workflow file for this run

# Builds, tests the project with Gradle and uploads to Modrinth
name: Java CI
on:
push:
branches: [ 'master' ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build test publish
env:
SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
- name: Query Version
run: |
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')"
id: fetch-version
- name: Get Version
run: |
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
- name: Upload GitHub Artifact
uses: actions/upload-artifact@v2
with:
name: Plugin Jar
path: target/PAPIProxyBridge-Plugin-*.jar