mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
90b403fb3d
+ add steps: package + release to add packaged build to release when pushing on tag + support building on prefixed branch name with wildcard + support event trigger on tag + support event trigger on workflow dispatch for manual trigger
22 lines
393 B
Batchfile
22 lines
393 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
pushd "%~dp0"
|
|
|
|
if /i "%~1"=="clean" (
|
|
rmdir /s /q "build-win" >nul 2>&1
|
|
)
|
|
|
|
del /f /q *.exp >nul 2>&1
|
|
del /f /q *.lib >nul 2>&1
|
|
del /f /q *.a >nul 2>&1
|
|
del /f /q *.obj >nul 2>&1
|
|
del /f /q *.pdb >nul 2>&1
|
|
del /f /q *.ilk >nul 2>&1
|
|
del /f /q dll\net.pb.cc >nul 2>&1
|
|
del /f /q dll\net.pb.h >nul 2>&1
|
|
rmdir /s /q "build-win-temp" >nul 2>&1
|
|
|
|
endlocal
|
|
popd
|