From 2a697399bd522451b569a193acad131fda45e0f2 Mon Sep 17 00:00:00 2001 From: kkllffaa Date: Sat, 25 Mar 2023 13:21:56 +0100 Subject: [PATCH] a --- .github/workflows/build release.yml | 4 ++-- src/main/java/com/kkllffaa/fabricmodselector/Update.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build release.yml b/.github/workflows/build release.yml index 09a9fd747..046467c74 100644 --- a/.github/workflows/build release.yml +++ b/.github/workflows/build release.yml @@ -19,10 +19,10 @@ jobs: ./gradlew build - name: Read version number id: getversion - run: echo "::set-output name=version::$(ls ./build/libs/ | awk -F'-' '/download/ {print $2}' | rev | cut -c 5- | rev)" + run: echo "version=$(ls ./build/libs/ | awk -F'-' '/download/ {print $2}' | rev | cut -c 5- | rev)" >> $GITHUB_OUTPUT - name: Read fabric version number id: getversionfabric - run: echo "::set-output name=version::$(awk -F'"' '/ VERSION / {print $2}' ./src/main/java/net/fabricmc/loader/impl/FabricLoaderImpl.java)" + run: echo "version=$(awk -F'"' '/ VERSION / {print $2}' ./src/main/java/net/fabricmc/loader/impl/FabricLoaderImpl.java)" >> $GITHUB_OUTPUT - name: Create Dev Build release uses: marvinpinto/action-automatic-releases@latest with: diff --git a/src/main/java/com/kkllffaa/fabricmodselector/Update.java b/src/main/java/com/kkllffaa/fabricmodselector/Update.java index 2848e881e..41f97791e 100644 --- a/src/main/java/com/kkllffaa/fabricmodselector/Update.java +++ b/src/main/java/com/kkllffaa/fabricmodselector/Update.java @@ -14,7 +14,7 @@ public class Update { public static final String repo = "kkllffaa.fabric-mod-selector.releases:download:"; public static final String git = "https://github.com/"; - //public static final String git = "http://localhost/"; + public final File mcjson; public final Version installed, latest;