Again try to fix actions/workflow/auto build

This commit is contained in:
stax76
2024-07-15 07:32:30 +02:00
parent b218619b2b
commit 12d0126dd5
2 changed files with 1 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ jobs:
msbuild MpvNet.sln /m /p:Configuration=Debug msbuild MpvNet.sln /m /p:Configuration=Debug
- name: Create .mo files for localization - name: Create .mo files for localization
shell: pwsh shell: pwsh
run: Install-Package Gettext.Tools -Force; .\lang\create-mo-files.ps1 run: Install-Package Gettext.Tools -Force; $env:Path = ((Get-Package Gettext.Tools).Source | Split-Path) + '\tools\bin;' + $env:Path; .\lang\create-mo-files.ps1
- name: Download libmpv # In principle, only update this binary file when significant feature changes occur in mpv/mpv.net - name: Download libmpv # In principle, only update this binary file when significant feature changes occur in mpv/mpv.net
shell: msys2 {0} shell: msys2 {0}
run: | run: |

View File

@@ -14,12 +14,6 @@ foreach ($it in $PoFiles)
} }
$moPath = "$folder/mpvnet.mo" $moPath = "$folder/mpvnet.mo"
if (-not (Test-Path $moPath))
{
New-Item -ItemType File -Path $moPath | Out-Null
}
msgfmt --output-file=$moPath $it.FullName msgfmt --output-file=$moPath $it.FullName
if ($LastExitCode) { throw $LastExitCode } if ($LastExitCode) { throw $LastExitCode }
$moPath $moPath