refactor(actions): rename Windows builds

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-07-09 18:56:32 +02:00
parent 211d596fdd
commit d77237ca5d
No known key found for this signature in database
GPG Key ID: C10411294912A422
2 changed files with 3 additions and 4 deletions

View File

@ -26,12 +26,12 @@ jobs:
qt_modules: 'qt5compat qtimageformats'
- os: windows-2022
name: "Windows-i686-Legacy"
name: "Windows-Legacy"
msystem: mingw32
qt_ver: 5
- os: windows-2022
name: "Windows-i686"
name: "Windows"
msystem: mingw32
qt_ver: 6

View File

@ -42,11 +42,10 @@ 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}"
NAME="PolyMC-Windows"
test -z "${LEGACY}" || NAME="${NAME}-Legacy"
test -z "${PORT}" || NAME="${NAME}-Portable"
test -z "${INST}" || mv PolyMC-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe