Skip to content

Commit b97bc60

Browse files
authored
Merge pull request #2817 from signalwire/windows-2022
[GHA] Update deprecated windows-2019 image to windows-2022
2 parents 4dc4ffc + 26a0d6e commit b97bc60

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.github/workflows/windows.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,28 @@ on:
77
branches: [master, release]
88
jobs:
99
x64:
10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111

1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
1515
fetch-depth: 0
1616

17+
- name: Download yasm.exe
18+
run: |
19+
curl -o libs\win32\ffmpeg\yasm.exe https://files.freeswitch.org/downloads/win64/yasm-1.3.0.87.g121a.exe
20+
copy libs\win32\ffmpeg\yasm.exe libs\win32\libvpx\yasm.exe
21+
22+
- name: Verify and Run yasm.exe
23+
run: |
24+
if exist libs\win32\ffmpeg\yasm.exe (
25+
libs\win32\ffmpeg\yasm.exe --version
26+
) else (
27+
echo ERROR: yasm.exe not found!
28+
exit 1
29+
)
30+
shell: cmd
31+
1732
- name: Add msbuild to PATH
1833
uses: microsoft/setup-msbuild@v2
1934

src/mod/languages/mod_managed/managed/FreeSWITCH.Managed.2017.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>FreeSWITCH.Managed</RootNamespace>
1212
<AssemblyName>FreeSWITCH.Managed</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
<StartupObject>
1616
</StartupObject>

src/mod/languages/mod_managed/managed/examples/winFailToBan/winFailToBan.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>winFailToBan</RootNamespace>
1212
<AssemblyName>winFailToBan</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1414
<FileAlignment>512</FileAlignment>
1515
</PropertyGroup>
1616
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

w32/Setup/CustomActions/Setup.CA.DownloadOpenH264/Setup.CA.DownloadOpenH264.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AppDesignerFolder>Properties</AppDesignerFolder>
1212
<RootNamespace>Setup.CA.DownloadOpenH264</RootNamespace>
1313
<AssemblyName>Setup.CA.DownloadOpenH264</AssemblyName>
14-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
14+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
1515
<FileAlignment>512</FileAlignment>
1616
</PropertyGroup>
1717
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">

0 commit comments

Comments
 (0)