mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
[GHA] Update deprecated windows-2019 image to windows-2022
This commit is contained in:
@@ -7,13 +7,28 @@ on:
|
||||
branches: [master, release]
|
||||
jobs:
|
||||
x64:
|
||||
runs-on: windows-2019
|
||||
runs-on: windows-2022
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
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
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user