summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/windows.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index af9f98ce9..e231ee392 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -89,9 +89,11 @@ jobs:
} else {
Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27-win32-bin.zip" -UseBasicParsing -OutFile .\tcc.zip
}
- Expand-Archive ./tcc.zip -DestinationPath ./winenv/tcc
+ Expand-Archive ./tcc.zip -DestinationPath ./tcc
+ Copy-Item ./tcc/tcc ./winenv/tcc -Recurse
Invoke-WebRequest "http://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip" -UseBasicParsing -OutFile .\winapi.zip
- Expand-Archive ./winapi.zip -DestinationPath ./winenv/tcc/winapi
+ Expand-Archive ./winapi.zip -DestinationPath ./winapi
+ Copy-Item ./winapi/winapi-full-for-0.9.27 ./winenv/tcc/winapi
./nsis/makensis.exe /DMAJOR=$($version.ProductMajorPart) /DMINOR=$($version.ProductMinorPart) /DALTER=$($version.ProductBuildPart) /DBUILD=$($($version.ProductVersion -split '\+')[1]) /D${{ matrix.arch }} .\scripts\installer.nsi
Copy-Item scripts/xmake.exe ./artifacts/${{env.RELEASE_NAME}}/xmake-tinyc.exe
Remove-Item ./winenv/tcc -Recurse