4
4
push :
5
5
branches :
6
6
- main
7
- - fix-gh-build-action
8
7
tags-ignore :
9
8
- ' **'
10
9
pull_request :
@@ -15,15 +14,44 @@ jobs:
15
14
build :
16
15
runs-on : ubuntu-20.04
17
16
steps :
18
- - uses : actions/checkout@v3
17
+ - uses : actions/checkout@v2
19
18
- uses : actions/setup-node@master
20
19
with :
21
20
node-version : 16
22
21
- name : Install windows dependencies
23
22
run : |
24
23
sudo apt-get update -y
25
24
sudo apt-get install -y --no-install-recommends software-properties-common
26
-
25
+
26
+ sudo dpkg --add-architecture i386
27
+
28
+ curl -L https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/Release.key > winehq.key
29
+ sudo apt-key add winehq.key
30
+
31
+ sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_20.04/ ./'
32
+ sudo apt-get update -y
33
+
34
+ sudo apt-get -y purge software-properties-common libdbus-glib-1-2 python3-dbus python3-gi python3-pycurl python3-software-properties
35
+
36
+ sudo apt-get install aptitude
37
+ sudo aptitude install -y libglib2.0-0:i386
38
+ sudo aptitude install -y libgphoto2-6:i386
39
+ sudo aptitude install -y libgstreamer-plugins-base1.0-0:i386
40
+ sudo aptitude install -y libgstreamer1.0-0:i386
41
+ sudo aptitude install -y libsane:i386
42
+ sudo aptitude install -y libodbc1:i386
43
+
44
+ sudo rm -rvf /var/lib/apt/lists/*
45
+ sudo apt-get install -f
46
+ sudo apt-get update
47
+ sudo apt-get upgrade
48
+ sudo apt-get dist-upgrade
49
+
50
+ sudo apt-get install -y wine-stable-i386
51
+
52
+ sudo apt-get install -y --no-install-recommends winehq-stable
53
+
54
+ wine --version
27
55
sudo apt-get install -y fakeroot
28
56
- name : Install mono
29
57
run : |
32
60
- name : install dependencies
33
61
run : yarn install
34
62
- name : build
35
- run : yarn run dist-linux
63
+ run : yarn run dist
36
64
env :
37
65
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments