Skip to content

Commit

Permalink
Fix matrix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Oct 12, 2024
1 parent 4a443ab commit e510a0e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ jobs:
fabric_api_url: https://cdn.modrinth.com/data/P7dR8mSH/versions/rXcvWJT5/fabric-api-0.105.4%2B1.21.2.jar
packtest_url: https://cdn.modrinth.com/data/XsKUhp45/versions/IE7ohvmX/packtest-1.9-beta1-mc1.21.2.jar
name: 'test-${{ matrix.version }}'
env:
VERSION: ${{ matrix.version }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -142,6 +140,7 @@ jobs:
- name: Build all modules for tests
run: poetry run beet -p beet-test.yaml -l ${{ env.LOG_LEVEL }} build
env:
VERSION: ${{ matrix.version }}
LOG_LEVEL: ${{ runner.debug == 1 && 'DEBUG' || 'INFO'}}

- name: Setup Java
Expand All @@ -152,10 +151,10 @@ jobs:

- name: Download server files
run: |
curl -o server.jar ${{ matrix.test_fabric_server }}
curl -o server.jar ${{ matrix.fabric_server_url }}
mkdir mods
curl -o mods/fabric-api.jar ${{ matrix.test_fabric_api }}
curl -o mods/packtest.jar ${{ matrix.test_packtest }}
curl -o mods/fabric-api.jar ${{ matrix.fabric_api_url }}
curl -o mods/packtest.jar ${{ matrix.packtest_url }}
- name: Copy packs to world
run: |
Expand Down

0 comments on commit e510a0e

Please sign in to comment.