From 8b922689f6477ebe32375f9496d4f2f0e2f388b6 Mon Sep 17 00:00:00 2001 From: Maharavan Sundaram Date: Wed, 22 Jan 2025 16:12:38 +0530 Subject: [PATCH] ci:check --- .github/workflows/windows_installer.yml | 28 +++++++++++++++++++ .../Windows/publishCoines.bat | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/windows_installer.yml diff --git a/.github/workflows/windows_installer.yml b/.github/workflows/windows_installer.yml new file mode 100644 index 0000000..a98ceb0 --- /dev/null +++ b/.github/workflows/windows_installer.yml @@ -0,0 +1,28 @@ +name: COINES Installer-Windows + +on: + push: + branches: + - '*' + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Download and install Inno Setup + run: | + # Download Inno Setup installer + Invoke-WebRequest -Uri https://jrsoftware.org/isdl.php -OutFile InnoSetup.exe + # Install Inno Setup silently + Start-Process -FilePath .\InnoSetup.exe -ArgumentList "/VERYSILENT" -NoNewWindow -Wait + # Cleanup + Remove-Item .\InnoSetup.exe -Force + + - name: COINES Installer - Windows + run: | + cd _installer_/Installer_Scripts/Windows + "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" "COINES_SDK_PRM.iss" diff --git a/_installer_/Installer_Scripts/Windows/publishCoines.bat b/_installer_/Installer_Scripts/Windows/publishCoines.bat index 7a5fbb0..70e05f6 100644 --- a/_installer_/Installer_Scripts/Windows/publishCoines.bat +++ b/_installer_/Installer_Scripts/Windows/publishCoines.bat @@ -221,7 +221,7 @@ copy %PROJ_DIR%\README.md %COINES_DIR%\README.md ::Create Installer -%INNO_TOOL_DIR%\ISCC.exe COINES_SDK_PRM.iss +ISCC.exe COINES_SDK_PRM.iss :: Get Git Tag Description for /F "tokens=* USEBACKQ" %%F in (`git describe --tags`) do (