Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase #23

Merged
merged 7 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Feature request
description: Request or suggest a new feature.
title: Feature request
labels: enhancement
labels: feature request
assignees: "LewMilburn"
body:
- type: textarea
Expand Down
42 changes: 22 additions & 20 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: Maven Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches:
- "*"

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v3
- name: Checkout Repository 📡
uses: actions/checkout@v4

- name: Set up JDK 21 🔧
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
java-version: '21'

- name: Build with Maven 🏗️
run: mvn -B package --file pom.xml

- name: Extract Version from pom.xml 📄
id: extract_version
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV

- name: Upload Plugin jar 📁
uses: actions/upload-artifact@v4
with:
name: kryptonite-${{ env.VERSION }}.jar
path: /home/runner/work/Kryptonite/Kryptonite/target/kryptonite-${{ env.VERSION }}.jar
4 changes: 2 additions & 2 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
# Generated by Kryptonite 1.3.0
#
# Wiki: https://wiki.lewmc.net/index.php?title=Kryptonite:Configuration
# Wiki: https://wiki.lewmc.net/kryptonite.html
#

update-check: true
kos:
override-pregenerated-world-protections: false
using-tcpshield: false
using-tcpshield: false
Loading