Skip to content

Commit

Permalink
Update a few deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Jan 10, 2025
1 parent 0208ecf commit 6319120
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .ci/ci-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd dnscrypt-proxy || exit 1
# setup the environment

sudo apt-get update -y
sudo apt-get install -y wget wine dotnet-sdk-6.0
sudo apt-get install -y wget wine dotnet-sdk-8.0
sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install -y wine32

sudo apt-get install -y unzip
Expand All @@ -16,13 +16,13 @@ export WINEPREFIX="$HOME"/.wine32
export WINEARCH=win32
export WINEDEBUG=-all

wget https://dl.winehq.org/wine/wine-mono/8.1.0/wine-mono-8.1.0-x86.msi
wget https://dl.winehq.org/wine/wine-mono/9.4.0/wine-mono-9.4.0-x86.msi
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wineboot --init
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wine msiexec /i wine-mono-8.1.0-x86.msi
WINEPREFIX="$HOME/.wine32" WINEARCH=win32 wine msiexec /i wine-mono-9.4.0-x86.msi

mkdir "$HOME"/.wine32/drive_c/temp
mkdir -p "$HOME"/.wine/drive_c/temp
wget https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip -nv -O wix.zip
wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip -nv -O wix.zip

unzip wix.zip -d "$HOME"/wix
rm -f wix.zip
Expand Down Expand Up @@ -52,7 +52,6 @@ for arch in x64 x86; do

wine candle.exe -dVersion="$version" -dPlatform=$arch -dPath=build\\$binpath -arch $arch wixproj\\dnscrypt.wxs -out build\\dnscrypt-$arch.wixobj
wine light.exe -out build\\dnscrypt-proxy-$arch-"$version".msi build\\dnscrypt-$arch.wixobj -sval

done

cd "$builddir" || exit
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
prerelease: false

- name: Upload release assets
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda
uses: softprops/action-gh-release@c43d7637b9b9ce3e953168c325d27253a5d48d8e
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6319120

Please sign in to comment.