Merge pull request #34 from MIOGMIOG/forge-1.12.2

1.18.2 support, Github actions (1.12.2)
This commit is contained in:
GetToMyLevel 2022-03-10 15:05:11 +01:00 committed by GitHub
commit b471221424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 3 deletions

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: build
on: [pull_request, push, workflow_dispatch]
jobs:
build:
strategy:
matrix:
# Use these Java versions
java: [
8
]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: build
run: ./gradlew build
- name: capture build artifacts
if: ${{ runner.os == 'Linux' && matrix.java == '8' }}
uses: actions/upload-artifact@v2
with:
name: ViaForge-1.12.2
path: build/libs/

View File

@ -9,11 +9,11 @@ mappings_channel=stable
mappings_version=39-1.12
mod_id=viaforge
mod_name=Viaforge
mod_name=ViaForge
mod_version=1.0.0
mod_base_package=de.enzaxd
mixin_version=0.8.3
viaversion_version=4.1.2-SNAPSHOT
viabackwards_version=4.1.2-SNAPSHOT
viaversion_version=4.2.2-SNAPSHOT
viabackwards_version=4.2.1-SNAPSHOT

View File

@ -4,6 +4,7 @@ import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
public enum ProtocolCollection {
R1_18_2(new ProtocolVersion(758, "1.18.2")),
R1_18_1(new ProtocolVersion(757, "1.18-1.18.1")),
R1_17_1(new ProtocolVersion(756, "1.17.1")),