mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-23 03:17:53 +01:00
Oh my glob
- Glob over all jars from libs when running the test mod - Add vanillin jars to artifacts
This commit is contained in:
parent
b6124be28a
commit
02ea671d31
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -44,6 +44,8 @@ jobs:
|
||||||
common/build/libs/
|
common/build/libs/
|
||||||
fabric/build/libs/
|
fabric/build/libs/
|
||||||
forge/build/libs/
|
forge/build/libs/
|
||||||
|
vanillinFabric/build/libs/
|
||||||
|
vanillinForge/build/libs/
|
||||||
|
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -63,15 +65,13 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Environment Variables
|
- name: Setup Environment Variables
|
||||||
run: |
|
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 "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"
|
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
|
- name: Move Test Mod and Flywheel into run/mods
|
||||||
run: |
|
run: |
|
||||||
mkdir -p run/mods
|
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/*.jar run/mods
|
||||||
cp ${{ matrix.loader }}/build/libs/flywheel-${{ matrix.loader }}-${{ env.MINECRAFT_VERSION }}-${{ env.MOD_VERSION }}-testmod.jar run/mods
|
|
||||||
|
|
||||||
# Lock to a specific commit, it would be bad if the tag is re-pushed with unwanted changes
|
# Lock to a specific commit, it would be bad if the tag is re-pushed with unwanted changes
|
||||||
- name: Run the MC client
|
- name: Run the MC client
|
||||||
|
|
Loading…
Reference in a new issue