From 0c0ddd7b73a62a344459eff49a17bd4cda79bdac Mon Sep 17 00:00:00 2001 From: 3arthqu4ke <56741599+3arthqu4ke@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:19:47 +0100 Subject: [PATCH] Updated to mc-runtime-test v3 --- .github/workflows/run-matrix-in-memory.yml | 7 ++++++- .github/workflows/run-matrix-xvfb.yml | 7 ++++++- .github/workflows/run-matrix.yml | 7 ++++++- .github/workflows/run-specific-all-modloaders.yml | 7 ++++++- .github/workflows/run-specific.yml | 4 ++-- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-matrix-in-memory.yml b/.github/workflows/run-matrix-in-memory.yml index fdeacc0..98e74dc 100644 --- a/.github/workflows/run-matrix-in-memory.yml +++ b/.github/workflows/run-matrix-in-memory.yml @@ -98,13 +98,18 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name needs: build steps: + - name: Install Java + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.version.java }} + distribution: "temurin" - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R - name: Copy launcher jar run: cp launcher-jar/headlessmc-launcher.jar . - name: Run the MC client - uses: 3arthqu4ke/mc-runtime-test@2.4.2 + uses: 3arthqu4ke/mc-runtime-test@v3.0.0 with: mc: ${{ matrix.version.mc }} modloader: ${{ matrix.version.modloader }} diff --git a/.github/workflows/run-matrix-xvfb.yml b/.github/workflows/run-matrix-xvfb.yml index ded52ee..1acad0b 100644 --- a/.github/workflows/run-matrix-xvfb.yml +++ b/.github/workflows/run-matrix-xvfb.yml @@ -94,13 +94,18 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name needs: build steps: + - name: Install Java + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.version.java }} + distribution: "temurin" - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R - name: Copy launcher jar run: cp launcher-jar/headlessmc-launcher.jar . - name: Run the MC client - uses: 3arthqu4ke/mc-runtime-test@2.4.2 + uses: 3arthqu4ke/mc-runtime-test@v3.0.0 with: mc: ${{ matrix.version.mc }} modloader: ${{ matrix.version.modloader }} diff --git a/.github/workflows/run-matrix.yml b/.github/workflows/run-matrix.yml index f713196..d7318c4 100644 --- a/.github/workflows/run-matrix.yml +++ b/.github/workflows/run-matrix.yml @@ -94,13 +94,18 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name needs: build steps: + - name: Install Java + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.version.java }} + distribution: "temurin" - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R - name: Copy launcher jar run: cp launcher-jar/headlessmc-launcher.jar . - name: Run the MC client - uses: 3arthqu4ke/mc-runtime-test@2.4.2 + uses: 3arthqu4ke/mc-runtime-test@v3.0.0 with: mc: ${{ matrix.version.mc }} modloader: ${{ matrix.version.modloader }} diff --git a/.github/workflows/run-specific-all-modloaders.yml b/.github/workflows/run-specific-all-modloaders.yml index 4ab178a..219edd6 100644 --- a/.github/workflows/run-specific-all-modloaders.yml +++ b/.github/workflows/run-specific-all-modloaders.yml @@ -63,13 +63,18 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - name: Install Java + uses: actions/setup-java@v4 + with: + java-version: ${{ matrix.version.java }} + distribution: "temurin" - uses: actions/download-artifact@v4 - name: Display structure of downloaded files run: ls -R - name: Copy launcher jar run: cp launcher-jar/headlessmc-launcher.jar . - name: Run the MC client - uses: 3arthqu4ke/mc-runtime-test@2.4.2 + uses: 3arthqu4ke/mc-runtime-test@v3.0.0 with: mc: ${{ github.event.inputs.mc }} modloader: ${{ matrix.version.modloader }} diff --git a/.github/workflows/run-specific.yml b/.github/workflows/run-specific.yml index c2d5de8..238ac98 100644 --- a/.github/workflows/run-specific.yml +++ b/.github/workflows/run-specific.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: - java-version: 8 + java-version: ${{ github.event.inputs.java }} distribution: temurin - name: Grant execute permission for gradlew run: chmod +x gradlew @@ -64,7 +64,7 @@ jobs: run: cp headlessmc-launcher-wrapper/build/libs/headlessmc-launcher.jar . - name: Run the MC client - uses: 3arthqu4ke/mc-runtime-test@2.4.2 + uses: 3arthqu4ke/mc-runtime-test@v3.0.0 with: mc: ${{ github.event.inputs.mc }} modloader: ${{ github.event.inputs.modloader }}