aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--.github/workflows/trigger_release.yml2
2 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 76a66739..3d7096ab 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -26,14 +26,14 @@ jobs:
qt_modules: 'qt5compat qtimageformats'
- os: windows-2022
- name: "Windows-i686"
+ name: "Windows-i686-Legacy"
msystem: mingw32
qt_ver: 5
- os: windows-2022
- name: "Windows-x86_64"
- msystem: mingw64
- qt_ver: 5
+ name: "Windows-i686"
+ msystem: mingw32
+ qt_ver: 6
- os: macos-12
macosx_deployment_target: 10.14
diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml
index 91cd0474..7c780cbf 100644
--- a/.github/workflows/trigger_release.yml
+++ b/.github/workflows/trigger_release.yml
@@ -43,9 +43,11 @@ jobs:
for d in PolyMC-Windows-*; do
cd "${d}" || continue
ARCH="$(echo -n ${d} | cut -d '-' -f 3)"
+ LEGACY="$(echo -n ${d} | grep -o Legacy || true)"
INST="$(echo -n ${d} | grep -o Setup || true)"
PORT="$(echo -n ${d} | grep -o Portable || true)"
NAME="PolyMC-Windows-${ARCH}"
+ test -z "${LEGACY}" || NAME="${NAME}-Legacy"
test -z "${PORT}" || NAME="${NAME}-Portable"
test -z "${INST}" || mv PolyMC-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe
test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" *