[GHA] Update deprecated windows-2019 image to windows-2022

This commit is contained in:
Andrey Volk 2025-06-02 21:13:00 +03:00
parent 4dc4ffc1fd
commit 26a0d6e738
4 changed files with 19 additions and 4 deletions

View File

@ -7,13 +7,28 @@ on:
branches: [master, release] branches: [master, release]
jobs: jobs:
x64: x64:
runs-on: windows-2019 runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Download yasm.exe
run: |
curl -o libs\win32\ffmpeg\yasm.exe https://files.freeswitch.org/downloads/win64/yasm-1.3.0.87.g121a.exe
copy libs\win32\ffmpeg\yasm.exe libs\win32\libvpx\yasm.exe
- name: Verify and Run yasm.exe
run: |
if exist libs\win32\ffmpeg\yasm.exe (
libs\win32\ffmpeg\yasm.exe --version
) else (
echo ERROR: yasm.exe not found!
exit 1
)
shell: cmd
- name: Add msbuild to PATH - name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2 uses: microsoft/setup-msbuild@v2

View File

@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FreeSWITCH.Managed</RootNamespace> <RootNamespace>FreeSWITCH.Managed</RootNamespace>
<AssemblyName>FreeSWITCH.Managed</AssemblyName> <AssemblyName>FreeSWITCH.Managed</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<StartupObject> <StartupObject>
</StartupObject> </StartupObject>

View File

@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>winFailToBan</RootNamespace> <RootNamespace>winFailToBan</RootNamespace>
<AssemblyName>winFailToBan</AssemblyName> <AssemblyName>winFailToBan</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

View File

@ -11,7 +11,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Setup.CA.DownloadOpenH264</RootNamespace> <RootNamespace>Setup.CA.DownloadOpenH264</RootNamespace>
<AssemblyName>Setup.CA.DownloadOpenH264</AssemblyName> <AssemblyName>Setup.CA.DownloadOpenH264</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">