Skip to content

Update github workflow to use the new ci script #576

Update github workflow to use the new ci script

Update github workflow to use the new ci script #576

Workflow file for this run

name: Build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:

Check failure on line 7 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
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 ./ci.py $MC_VERSION buildPublishToLocalAndTest