Cleanup to support 1.20.2 (#13) #15
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
javaVersion: ["17"] | |
mcVersion: ['1.20.2'] | |
name: Minecraft ${{ matrix.mcVersion }} with Java v${{ matrix.javaVersion }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1.4.4 | |
with: | |
node-version: 14.x | |
- name: Setup Java JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.javaVersion }} | |
- run: npm run start -- ${{ matrix.mcVersion }} | |
- run: gradle run --args="--outputDir output" |