mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-24 23:00:00 +02:00
Update windows-msi.yml
This commit is contained in:
3
.github/workflows/windows-msi.yml
vendored
3
.github/workflows/windows-msi.yml
vendored
@@ -81,7 +81,8 @@ jobs:
|
||||
if (-not $fullSha) { $fullSha = [System.Guid]::NewGuid().ToString() }
|
||||
$bytes = [System.Text.Encoding]::UTF8.GetBytes($fullSha)
|
||||
$md5 = [System.Security.Cryptography.MD5]::Create().ComputeHash($bytes)
|
||||
$productGuid = [System.Guid]::new($md5[0..15]).ToString().ToUpper()
|
||||
$guidBytes = [byte[]]$md5[0..15]
|
||||
$productGuid = [System.Guid]::new($guidBytes).ToString().ToUpper()
|
||||
|
||||
echo "VERSION_MSI=$verMsi" >> $env:GITHUB_OUTPUT
|
||||
echo "VERSION_DISPLAY=$verDisplay" >> $env:GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user