From 03301935451346d1c365f5d4738937165489ae9a Mon Sep 17 00:00:00 2001
From: Li
Date: Tue, 21 Jun 2022 15:45:42 +1200
Subject: [PATCH] Try
---
.github/workflows/build.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3d820bf..9bd5c90 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -46,9 +46,8 @@ jobs:
- name: Build win-x86
continue-on-error: false
run: |
- set PlatformTarget=x86
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
- dotnet publish -r win-x86 -c Windows --self-contained
+ dotnet publish -a x86 -r win-x86 -c Windows --self-contained
mkdir "HISPd\bin\x86\Windows\net7.0\win-x86\native\gamedata"
copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x86\Windows\net7.0\win-x86\native\gamedata"
copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x86\Windows\net7.0\win-x86\native\HI1.MAP"