|
@@ -143,6 +143,25 @@ runs:
|
|
|
run: |
|
|
|
cd src
|
|
|
e build --target electron:node_headers
|
|
|
+ - name: Create installed_software.json ${{ inputs.step-suffix }}
|
|
|
+ shell: powershell
|
|
|
+ if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'win' }}
|
|
|
+ run: |
|
|
|
+ cd src
|
|
|
+ Get-CimInstance -Namespace root\cimv2 -Class Win32_product | Select vendor, description, @{l='install_location';e='InstallLocation'}, @{l='install_date';e='InstallDate'}, @{l='install_date_2';e='InstallDate2'}, caption, version, name, @{l='sku_number';e='SKUNumber'} | ConvertTo-Json | Out-File -Encoding utf8 -FilePath .\installed_software.json
|
|
|
+ - name: Profile Windows Toolchain ${{ inputs.step-suffix }}
|
|
|
+ shell: bash
|
|
|
+ if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'win' }}
|
|
|
+ run: |
|
|
|
+ cd src
|
|
|
+ python3 electron/build/profile_toolchain.py --output-json=out/Default/windows_toolchain_profile.json
|
|
|
+ - name: Add msdia140.dll to Path ${{ inputs.step-suffix }}
|
|
|
+ shell: bash
|
|
|
+ if: ${{ inputs.is-release == 'true' && inputs.target-platform == 'win' }}
|
|
|
+ run: |
|
|
|
+ # Needed for msdia140.dll on 64-bit windows
|
|
|
+ cd src
|
|
|
+ export PATH="$PATH:$(pwd)/third_party/llvm-build/Release+Asserts/bin"
|
|
|
- name: Generate & Zip Symbols ${{ inputs.step-suffix }}
|
|
|
shell: bash
|
|
|
run: |
|