Skip to content

Commit

Permalink
Updated to mc-runtime-test v3
Browse files Browse the repository at this point in the history
  • Loading branch information
3arthqu4ke committed Jan 21, 2025
1 parent c56fa2a commit 0c0ddd7
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/run-matrix-in-memory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/run-matrix-xvfb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/run-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/run-specific-all-modloaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-specific.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 0c0ddd7

Please sign in to comment.