@@ -32,18 +32,16 @@ jobs:
32
32
33
33
- name : Add MSBuild to PATH
34
34
35
- with :
36
- msbuild-architecture : ' arm64'
37
-
38
- # - name: Install html-help-workshop, sed, innosetup
39
- # run: |
40
- # choco install html-help-workshop
41
- # choco install sed
42
- # choco install innosetup
43
-
44
- # - name: Restore NuGet packages
45
- # working-directory: ${{env.GITHUB_WORKSPACE}}
46
- # run: nuget restore ${{env.SOLUTION_FILE_PATH}}
35
+
36
+ - name : Install html-help-workshop, sed, innosetup
37
+ run : |
38
+ choco install html-help-workshop
39
+ choco install sed
40
+ choco install innosetup
41
+
42
+ - name : Restore NuGet packages
43
+ working-directory : ${{env.GITHUB_WORKSPACE}}
44
+ run : nuget restore ${{env.SOLUTION_FILE_PATH}}
47
45
48
46
- name : Stub
49
47
working-directory : ${{env.GITHUB_WORKSPACE}}
@@ -52,26 +50,61 @@ jobs:
52
50
#dir
53
51
env
54
52
53
+ - name : Build win32
54
+ working-directory : ${{env.GITHUB_WORKSPACE}}
55
+ # Add additional options to the MSBuild command line here (like platform or verbosity level).
56
+ # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
57
+ run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=Win32 ${{env.SOLUTION_FILE_PATH}}
58
+
55
59
- name : Build x64
56
60
working-directory : ${{env.GITHUB_WORKSPACE}}
57
61
# Add additional options to the MSBuild command line here (like platform or verbosity level).
58
62
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
59
- run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=ARM64 ${{env.SOLUTION_FILE_PATH}}
60
-
61
- # - name: Build InnoSetup installers
62
- # working-directory: ${{env.GITHUB_WORKSPACE}}
63
- # run: |
64
- # cd Install\Win32
65
- # dir
66
- # ./MakePackage.bat
67
-
68
- # - uses: actions/upload-artifact@v4
69
- # id: upload_step3
70
- # with:
71
- # name: x64Installer
72
- # path: ./Install/Win32/install_image/*_x64.exe
63
+ run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=x64 ${{env.SOLUTION_FILE_PATH}}
64
+
65
+ - name : Build InnoSetup installers
66
+ working-directory : ${{env.GITHUB_WORKSPACE}}
67
+ run : |
68
+ cd Install\Win32
69
+ dir
70
+ ./MakePackage.bat
71
+ ./MakePackage.bat WIN32
72
+
73
+ - name : VirusTotal Scan
74
+ uses : crazy-max/ghaction-virustotal@v4
75
+ id : virustotal_scan
76
+ with :
77
+ # vt_api_key: ${{ secrets.VT_API_KEY }}
78
+ vt_api_key : effc35cbb3eb35975d5cf74eee8b75a1a1b12b6af0d66ed2a65cba48becaecc0
79
+ files : |
80
+ ./Install/Win32/install_image/*_Win32.exe
81
+ ./Install/Win32/install_image/*_x64.exe
82
+
83
+ - name : Upload artefacts
84
+ run : |
85
+ echo "${{ steps.virustotal_scan.outputs.analysis }}" > ./Install/Win32/install_image/VirusTotalScan.txt
73
86
74
- # - name: Upload results
75
- # run: |
76
- # echo 'x64Installer: Artifact ID is ${{ steps.upload_step3.outputs.artifact-id }}, URL is ${{ steps.upload_step3.outputs.artifact-url }}'
87
+ - uses : actions/upload-artifact@v4
88
+ id : upload_step1
89
+ with :
90
+ name : VirusTotalScan
91
+ path : ./Install/Win32/install_image/VirusTotalScan.txt
92
+
93
+ - uses : actions/upload-artifact@v4
94
+ id : upload_step2
95
+ with :
96
+ name : Win32Installer
97
+ path : ./Install/Win32/install_image/*_Win32.exe
98
+
99
+ - uses : actions/upload-artifact@v4
100
+ id : upload_step3
101
+ with :
102
+ name : x64Installer
103
+ path : ./Install/Win32/install_image/*_x64.exe
104
+
105
+ - name : Upload results
106
+ run : |
107
+ echo 'VirusTotalScan: Artifact ID is ${{ steps.upload_step1.outputs.artifact-id }}, URL is ${{ steps.upload_step1.outputs.artifact-url }}'
108
+ echo 'Win32Installer: Artifact ID is ${{ steps.upload_step2.outputs.artifact-id }}, URL is ${{ steps.upload_step2.outputs.artifact-url }}'
109
+ echo 'x64Installer: Artifact ID is ${{ steps.upload_step3.outputs.artifact-id }}, URL is ${{ steps.upload_step3.outputs.artifact-url }}'
77
110
0 commit comments