Skip to content

Commit

Permalink
Attempt to fix github action wine errors on windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaltby committed Jan 15, 2025
1 parent 059dd53 commit fe3be37
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,11 @@ jobs:
if: matrix.name == 'win32'
run: |
sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y install wine wine64 mono-devel
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update -y
sudo apt install -y --install-recommends winehq-stable mono-devel
yarn make:win32
mkdir -p ./out/keep
mv ./out/make/zip/win32/ia32/*.zip ./out/keep/gb-studio-${CIRCLE_BRANCH}-windows_x86.zip
Expand All @@ -145,8 +148,11 @@ jobs:
if: matrix.name == 'win64'
run: |
sudo dpkg --add-architecture i386
sudo apt-get -y update
sudo apt-get -y install wine wine64 mono-devel
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo apt update -y
sudo apt install -y --install-recommends winehq-stable mono-devel
yarn make:win
mkdir -p ./out/keep
mv ./out/make/zip/win32/x64/*.zip ./out/keep/gb-studio-${CIRCLE_BRANCH}-windows_x86_64.zip
Expand Down

0 comments on commit fe3be37

Please sign in to comment.