Skip to content

Commit

Permalink
Again try to fix actions/workflow/auto build
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Jul 15, 2024
1 parent b218619 commit 12d0126
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
msbuild MpvNet.sln /m /p:Configuration=Debug
- name: Create .mo files for localization
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
shell: msys2 {0}
run: |
Expand Down
6 changes: 0 additions & 6 deletions lang/create-mo-files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ foreach ($it in $PoFiles)
}

$moPath = "$folder/mpvnet.mo"

if (-not (Test-Path $moPath))
{
New-Item -ItemType File -Path $moPath | Out-Null
}

msgfmt --output-file=$moPath $it.FullName
if ($LastExitCode) { throw $LastExitCode }
$moPath
Expand Down

0 comments on commit 12d0126

Please sign in to comment.