-
-
Notifications
You must be signed in to change notification settings - Fork 9
48 lines (44 loc) · 1.53 KB
/
Copy pathtest.yml
File metadata and controls
48 lines (44 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Test
on:
pull_request:
#push:
# branches: [ 'master' ]
# paths-ignore:
# - '.github/workflows/**'
# - 'README.md'
permissions:
contents: read
jobs:
test:
continue-on-error: true
strategy:
matrix:
command: [
"--forge --version 1.6.4-9.11.1.964", # FG 1.0
"--forge --version 1.7.10-10.13.4.1614-1.7.10", # FG 1.1
"--forge --version 1.8.9-11.15.1.2318-1.8.9", # FG 2.1
"--forge --version 1.12.2-14.23.5.2864", # FG
"--forge --version 1.20.1-47.4.0", # FG 3
"--forge --version 1.21.11-61.1.0", # FG 6 Official names
"--forge --version 26.1-62.0.0", # FG 6 No obfusation
"--client --version 1.20.1", # MCPConfig, full decompile/recompile poissible
"--server --version 1.20.1",
"--mc --version 1.20.1",
"--client --version 26.1-snapshot-1", # No MCPConfig, unobfuscated, No Recompile possible
"--server --version 26.1-snapshot-1"
]
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v6
with:
fetch-tags: true
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 25
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Test Run
run: ./gradlew run --args="--debug ${{ matrix.command }}"