Again try to fix actions/workflow/auto build
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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: |
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user