Change swigwin binary source to avoid failing to download (#3361)

This commit is contained in:
Riza Sulistyo 2023-02-03 15:27:10 +07:00 committed by GitHub
parent 99b1dd8ea9
commit 55283c1d4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6,12 +6,12 @@ jobs:
steps:
- uses: actions/checkout@master
- name: get swig
run: Invoke-WebRequest -Uri "http://nchc.dl.sourceforge.net/project/swig/swigwin/swigwin-4.0.1/swigwin-4.0.1.zip" -OutFile ".\swigwin.zip"
run: Invoke-WebRequest -Uri "https://github.com/pjsip/third_party_libs/raw/main/swigwin-4.1.1.zip" -OutFile ".\swigwin.zip"
shell: powershell
- name: expand swig
run: |
Expand-Archive -LiteralPath .\swigwin.zip -DestinationPath .\swigwin\; pwd
cd swigwin\swigwin-4.0.1
cd swigwin\swigwin-4.1.1
Add-Content ..\..\swig_path.txt $pwd.Path
shell: powershell
- name: config site