ci(release): upload mingw-arm64 artifacts

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2025-05-07 21:01:00 -04:00
parent 3dcac0de50
commit b9a97c8647
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -66,6 +66,17 @@ jobs:
cd ..
done
for d in PrismLauncher-Windows-MinGW-arm64*; do
cd "${d}" || continue
INST="$(echo -n ${d} | grep -o Setup || true)"
PORT="$(echo -n ${d} | grep -o Portable || true)"
NAME="PrismLauncher-Windows-MinGW-arm64"
test -z "${PORT}" || NAME="${NAME}-Portable"
test -z "${INST}" || mv PrismLauncher-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe
test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" *
cd ..
done
- name: Create release
id: create_release
uses: softprops/action-gh-release@v2