Use java 8 & Gitea workflow

This commit is contained in:
Cyanoure
2025-10-03 18:27:00 +02:00
parent 056a3840d9
commit 8923c80204
2 changed files with 36 additions and 2 deletions

View File

@@ -0,0 +1,34 @@
name: Build Bukkit
on:
push:
branches:
- master
- dev
- 1.2.5-R2.0
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'temurin'
- name: Build all
run: mvn clean package
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: bukkit
path: |
${{ gitea.workspace }}/target/*.jar
${{ gitea.workspace }}/target/dependency-reduced-pom.xml

View File

@@ -45,8 +45,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>