From 02ea671d31712fcff799ae673e58441a2e56b1c2 Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Sun, 12 Jan 2025 15:48:10 -0800 Subject: [PATCH] Oh my glob - Glob over all jars from libs when running the test mod - Add vanillin jars to artifacts --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4b270af22..b949f1132 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,8 @@ jobs: common/build/libs/ fabric/build/libs/ forge/build/libs/ + vanillinFabric/build/libs/ + vanillinForge/build/libs/ test: strategy: @@ -63,15 +65,13 @@ jobs: - name: Setup Environment Variables run: | - echo "MOD_VERSION=$(grep '^mod_version =' gradle.properties | cut -d'=' -f2 | tr -d ' ')" >> "$GITHUB_ENV" echo "MINECRAFT_VERSION=$(grep '^minecraft_version =' gradle.properties | cut -d'=' -f2 | tr -d ' ')" >> "$GITHUB_ENV" echo "FABRIC_API_VERSION=$(grep '^fabric_api_version =' gradle.properties | cut -d'=' -f2 | tr -d ' ' | sed 's/+.*//')" >> "$GITHUB_ENV" - name: Move Test Mod and Flywheel into run/mods run: | mkdir -p run/mods - cp ${{ matrix.loader }}/build/libs/flywheel-${{ matrix.loader }}-${{ env.MINECRAFT_VERSION }}-${{ env.MOD_VERSION }}.jar run/mods - cp ${{ matrix.loader }}/build/libs/flywheel-${{ matrix.loader }}-${{ env.MINECRAFT_VERSION }}-${{ env.MOD_VERSION }}-testmod.jar run/mods + cp ${{ matrix.loader }}/build/libs/*.jar run/mods # Lock to a specific commit, it would be bad if the tag is re-pushed with unwanted changes - name: Run the MC client