@@ -60,17 +60,12 @@ jobs:
6060 cd /Library
6161 zip -q -r ${OLDPWD}/libdigidocpp.${{ matrix.target }}.zip libdigidocpp.*
6262 - name : Archive artifacts
63- if : matrix.target == 'macos'
64- uses : actions/upload-artifact@v4
65- with :
66- name : macOS
67- path : build/macos/libdigidocpp*.*
68- - name : Archive artifacts
69- if : matrix.target != 'macos'
7063 uses : actions/upload-artifact@v4
7164 with :
7265 name : ${{ matrix.target }}
73- path : libdigidocpp*.zip
66+ path : |
67+ build/macos/libdigidocpp*.*
68+ libdigidocpp*.zip
7469 fedora :
7570 name : Build on Fedora ${{ matrix.container }}
7671 runs-on : ubuntu-latest
@@ -161,7 +156,10 @@ jobs:
161156 VCPKG_DEFAULT_TRIPLET : ${{ matrix.platform }}-windows
162157 VCPKG_INSTALLED_DIR : ${{ github.workspace }}/vcpkg_installed_${{ matrix.platform }}
163158 - name : Install dependencies
164- run : choco install doxygen.install -y > $null
159+ run : |
160+ choco install doxygen.install -y > $null
161+ Invoke-WebRequest -UserAgent "Wget" "https://sourceforge.net/projects/swig/files/swigwin/swigwin-4.2.1/swigwin-4.2.1.zip/download" -OutFile swig.zip
162+ tar xf swig.zip
165163 - uses : actions/setup-python@v5
166164 if : matrix.platform == 'x86'
167165 with :
@@ -172,7 +170,7 @@ jobs:
172170 & .\build.ps1 `
173171 -vcvars "${{ matrix.vcvars }}" `
174172 -platform ${{ matrix.platform }} `
175- -swig C:/ProgramData/chocolatey/bin /swig.exe `
173+ -swig ${{ github.workspace }}/swigwin-4.2.1 /swig.exe `
176174 -doxygen "C:/Program files/doxygen/bin/doxygen.exe" `
177175 -boost
178176 - name : Archive artifacts
0 commit comments