From 20b40f3ab5923b6171de51dad33d8e4189ec2357 Mon Sep 17 00:00:00 2001 From: Jean-David Moisan Date: Fri, 27 Dec 2024 14:48:45 -0500 Subject: [PATCH] Try different way to install wine --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac93623..c68709a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,11 @@ jobs: - name: Setup Wine run: | sudo apt update - sudo apt install wine64 p7zip-full curl + sudo apt install p7zip-full curl + curl -s https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor | sudo tee /usr/share/keyrings/winehq.gpg > /dev/null + echo deb [signed-by=/usr/share/keyrings/winehq.gpg] http://dl.winehq.org/wine-builds/ubuntu/ $(lsb_release -cs) main | sudo tee /etc/apt/sources.list.d/winehq.list + sudo apt update + sudo apt install wine64 wget -qO- https://raw.githubusercontent.com/MonoGame/MonoGame/2e72fcfa4144ea5bc413963af8f97a2d5e902338/Tools/MonoGame.Effect.Compiler/mgfxc_wine_setup.sh | sh - name: Build Windows run: dotnet publish ${{ env.PROJECT_PATH }} -r win-x64 -c Release --output artifacts/windows --self-contained -p:Version=${{ env.TAGVERSION }}