mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-08 10:09:36 +01:00
Merge pull request #34 from MIOGMIOG/forge-1.12.2
1.18.2 support, Github actions (1.12.2)
This commit is contained in:
commit
b471221424
32
.github/workflows/main.yml
vendored
Normal file
32
.github/workflows/main.yml
vendored
Normal 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/
|
@ -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
|
||||
|
@ -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")),
|
||||
|
Loading…
Reference in New Issue
Block a user