github-actions: fix missing mpvnet.com and .mo files

This commit is contained in:
stax76
2023-12-09 03:41:28 +01:00
parent f937273fe3
commit dfd9abeba4

View File

@@ -60,8 +60,16 @@ jobs:
wget -nv -O MediaInfo.7z https://mediaarea.net/download/binary/libmediainfo0/23.10/MediaInfo_DLL_23.10_Windows_x64_WithoutInstaller.7z
7z x -y MediaInfo.7z -oMediaInfo
cp -f MediaInfo/MediaInfo.dll src/MpvNet.Windows/bin/Debug/ || true
- name: Download mpvnet.com file
shell: msys2 {0}
run: |
wget -nv -O mpvnet.com https://github.com/mpvnet-player/file-host/releases/download/tag/mpvnet.com.txt
cp -f mpvnet.com src/MpvNet.Windows/bin/Debug/ || true
- name: Create .mo files
shell: pwsh
run: .\lang\create-mo-files.ps1
- name: Upload
uses: actions/upload-artifact@v3
with:
name: "mpv.net-win64"
path: src/MpvNet.Windows/bin/Debug/
path: src/MpvNet.Windows/bin/Debug/