Skip to content

Commit ef046e1

Browse files
committed
[CI] fix wine installation
1 parent 8fe8a77 commit ef046e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/io-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,12 @@ jobs:
102102
- name: Install wine
103103
run: |
104104
sudo dpkg --add-architecture i386
105-
sudo sh -c "curl https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor > /etc/apt/trusted.gpg.d/winehq.gpg"
106-
sudo sh -c "apt-add-repository \"https://dl.winehq.org/wine-builds/ubuntu\""
105+
wget -nc https://dl.winehq.org/wine-builds/winehq.key
106+
sudo apt-key add winehq.key
107+
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'
108+
sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/debian/ bookworm main'
107109
sudo apt update
108-
sudo apt install -y --install-recommends winehq-staging
110+
sudo apt install -y --install-recommends winehq-stable
109111
110112
- name: Test with pytest
111113
run: |

0 commit comments

Comments
 (0)