- Remove sources and javadoc after glob copying them
This commit is contained in:
Jozufozu 2025-01-12 16:23:34 -08:00
parent 0dc8f97b73
commit 811b0f2532

View file

@ -69,9 +69,11 @@ jobs:
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
# We don't want to recreate the jar name formatting so glob everything over then remove the sources and javadoc jars
run: | run: |
mkdir -p run/mods mkdir -p run/mods
cp ${{ matrix.loader }}/build/libs/*.jar run/mods cp ${{ matrix.loader }}/build/libs/*.jar run/mods
rm -f run/mods/*-sources.jar run/mods/*-javadoc.jar
# 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