From 8546ac56e2f13a6608d9f0ca9f8c0c1d48aa28cd Mon Sep 17 00:00:00 2001 From: ShintoKosei <67397639+ShintoKosei@users.noreply.github.com> Date: Sat, 6 Apr 2024 21:12:48 +0800 Subject: [PATCH] More Fix CI --- .github/workflows/build_1_20_4_v2.yml | 2 +- scripts/{SetENV.sh => setenv.sh} | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename scripts/{SetENV.sh => setenv.sh} (96%) diff --git a/.github/workflows/build_1_20_4_v2.yml b/.github/workflows/build_1_20_4_v2.yml index be48976..7d3fd9a 100644 --- a/.github/workflows/build_1_20_4_v2.yml +++ b/.github/workflows/build_1_20_4_v2.yml @@ -36,7 +36,7 @@ jobs: mv build/libs/luminol-bundler-1.20.4-R0.1-SNAPSHOT-reobf.jar build/libs/luminol-1.20.4-bundler.jar mv build/libs/luminol-paperclip-1.20.4-R0.1-SNAPSHOT-reobf.jar build/libs/luminol-1.20.4-paperclip.jar - name: Set ENV - run: sh scripts/SetENV.sh + run: sh scripts/setenv.sh - name: Create Release if: "!contains(github.event.commits[0].message, '[release-skip]')" uses: ncipollo/release-action@v1.12.0 diff --git a/scripts/SetENV.sh b/scripts/setenv.sh similarity index 96% rename from scripts/SetENV.sh rename to scripts/setenv.sh index 3c2dd5d..11c05d5 100644 --- a/scripts/SetENV.sh +++ b/scripts/setenv.sh @@ -11,6 +11,7 @@ make_latest=$([ $preVersion = "true" ] && echo "false" || echo "true") echo "commitid=$commitid" >> $GITHUB_ENV echo "version=$mcversion" >> $GITHUB_ENV +echo "$mcversion" echo "tag=$release_tag" >> $GITHUB_ENV echo "jar=$jarName" >> $GITHUB_ENV echo "pre=$preVersion" >> $GITHUB_ENV