Don't rerun command for other version if its failing can break the wo… #578
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |