File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 6565 shell : cmd
6666 run : call .\ArtifactBuild.cmd
6767
68+ # Bump version for installer
69+ - name : Bump Installer Version
70+ if : env.build_trigger == 'true'
71+ shell : cmd
72+ run : call .\InstallerBumpVersion.bat
73+
74+ # Build MSI installer project
75+ - name : Build Installer MSI
76+ if : env.build_trigger == 'true'
77+ shell : cmd
78+ run : |
79+ msbuild UnityLauncherProInstaller\UnityLauncherProInstaller.vdproj /p:Configuration=Release
80+
6881 # Get the current date and time
6982 - name : Get current date and time
7083 id : datetime
@@ -123,3 +136,14 @@ jobs:
123136 asset_name : UnityLauncherPro.zip
124137 asset_content_type : application/zip
125138
139+ # Upload MSI installer to release
140+ - name : Upload MSI Installer
141+ if : env.build_trigger == 'true'
142+ uses : actions/upload-release-asset@v1
143+ env :
144+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
145+ with :
146+ upload_url : ${{ steps.create_release.outputs.upload_url }}
147+ asset_path : ./UnityLauncherProInstaller/Release/UnityLauncherPro-Installer.msi
148+ asset_name : UnityLauncherPro-Installer.msi
149+ asset_content_type : application/x-msi
You can’t perform that action at this time.
0 commit comments