File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 65
65
shell : cmd
66
66
run : call .\ArtifactBuild.cmd
67
67
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
+
68
81
# Get the current date and time
69
82
- name : Get current date and time
70
83
id : datetime
@@ -123,3 +136,14 @@ jobs:
123
136
asset_name : UnityLauncherPro.zip
124
137
asset_content_type : application/zip
125
138
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