-
Notifications
You must be signed in to change notification settings - Fork 46
32 lines (31 loc) · 989 Bytes
/
build.yml
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
name: Build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
mc_version: [
'1.8.2,1.8.3,1.8.4,1.8.5',
'1.8.6,1.8.7,1.8.8,1.8.9',
'1.9,1.9.1,1.9.2,1.9.3,1.9.4',
'1.10,1.10.1,1.10.2',
'1.11,1.11.1,1.11.2',
'1.12,1.12.1,1.12.2',
'1.13,1.13.1,1.13.2',
# Upstream broken yarns
# '1.14',
'1.14.1,1.14.2,1.14.3,1.14.4'
]
env:
MC_VERSION: ${{ matrix.mc_version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17'
- run: python -u ./ci.py $MC_VERSION buildPublishToLocalAndTest