This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Bump net.kyori:adventure-platform-bukkit from 4.3.1 to 4.3.2 #177
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
# Builds and tests the project with Gradle | |
name: Java CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '16' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build | |
- 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 to Modrinth | |
uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: bME80dEI | |
modrinth-featured: false | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
modrinth-dependencies: | | |
huskhomes | depends | 3.0 | |
files-primary: target/HuskHomesGUI-*.jar | |
name: HuskHomesGUI v${{ env.version_name }} | |
version: ${{ env.version_name }} | |
version-type: alpha | |
changelog: ${{ github.event.head_commit.message }} | |
loaders: | | |
spigot | |
paper | |
purpur | |
game-versions: | | |
1.16.5 | |
1.17.1 | |
1.18.2 | |
1.19.4 | |
1.20.1 | |
java: 16 | |
- name: Upload GitHub Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: HuskHomesGUI Plugin | |
path: target/HuskHomesGUI-*.jar |