diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index 5216cb6..10b844b 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -101,7 +101,10 @@ jobs: path=`echo "${{ matrix.modtype }}" | sed 's#V#/V#'` ;; "Fabric") - modloader="Fabric" + modloader=$(cat <> $GITHUB_OUTPUT echo "edition=$(echo ${{ matrix.modtype }} | sed "s/-//")" >> $GITHUB_OUTPUT echo "minecraft_vers<> $GITHUB_OUTPUT - grep "minecraft_full_versions=" "$path"/build.properties | grep -v "#" | sed "s/minecraft_full_versions=//" | sed "s/,/\n/g" >> $GITHUB_OUTPUT + grep "dependencies=" "$path"/build.properties | grep -v "#" | awk -F '|' '{print $2}' | sed 's#\;\\##' | sed "s/,/\n/g" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT echo "java_vers<> $GITHUB_OUTPUT grep "java_full_versions=" "$path"/build.properties | grep -v "#" | sed "s/java_full_versions=//" | sed "s/,/\n/g" >> $GITHUB_OUTPUT