4
4
push :
5
5
branches :
6
6
- main
7
+ - fix-gh-build-action
7
8
tags-ignore :
8
9
- ' **'
9
10
pull_request :
@@ -14,44 +15,15 @@ jobs:
14
15
build :
15
16
runs-on : ubuntu-20.04
16
17
steps :
17
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
18
19
- uses : actions/setup-node@master
19
20
with :
20
21
node-version : 16
21
22
- name : Install windows dependencies
22
23
run : |
23
24
sudo apt-get update -y
24
25
sudo apt-get install -y --no-install-recommends software-properties-common
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
26
+
55
27
sudo apt-get install -y fakeroot
56
28
- name : Install mono
57
29
run : |
60
32
- name : install dependencies
61
33
run : yarn install
62
34
- name : build
63
- run : yarn run dist
35
+ run : yarn run dist-linux
64
36
env :
65
37
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments