10
10
fail-fast : false
11
11
matrix :
12
12
platform : [macos-latest, ubuntu-latest, windows-latest]
13
- toolchain : [stable, i686-pc-windows-msvc]
14
13
15
14
runs-on : ${{ matrix.platform }}
16
15
env :
@@ -29,30 +28,16 @@ jobs:
29
28
git config --global url."https://".insteadOf git://
30
29
31
30
- name : install Rust stable
32
- if : matrix.platform == 'macos-latest'
33
31
uses : actions-rs/toolchain@v1
34
32
with :
35
33
toolchain : stable
36
-
37
- - name : install Rust stable
38
- if : matrix.platform == 'windows-latest'
39
- uses : actions-rs/toolchain@v1
40
- with :
41
- toolchain : ${{ matrix.toolchain }}
42
-
43
- - name : install Rust stable
44
- if : matrix.platform == 'ubuntu-latest'
45
- uses : actions-rs/toolchain@v1
46
- with :
47
- toolchain : stable
48
-
49
34
- name : install webkit2gtk (ubuntu only)
50
35
if : matrix.platform == 'ubuntu-latest'
51
36
run : |
52
37
sudo apt-get update
53
38
sudo apt-get install -y webkit2gtk-4.0
54
39
55
- - name : ci
40
+ - name : CI
56
41
run : |
57
42
npm ci
58
43
67
52
releaseBody : ${{ github.event.issue.body }}
68
53
releaseDraft : false
69
54
prerelease : false
55
+
56
+ publish-32 :
57
+ if : github.event.label.name == 'desktop-release'
58
+ runs-on : windows-latest
59
+ env :
60
+ CI : false
61
+ steps :
62
+ - uses : actions/checkout@v3
63
+ - name : setup node
64
+ uses : actions/setup-node@v3
65
+ with :
66
+ node-version : 12
67
+ cache : npm
68
+
69
+ - name : git http
70
+ run : |
71
+ git config --global url."https://github.com/".insteadOf [email protected] :
72
+ git config --global url."https://".insteadOf git://
73
+
74
+ - name : install Rust i686-pc-windows-msvc
75
+ uses : actions-rs/toolchain@v1
76
+ with :
77
+ toolchain : i686-pc-windows-msvc
78
+
79
+ - name : CI
80
+ run : |
81
+ npm ci
82
+
83
+ - name : install app dependencies and build it
84
+ run : npm run build
85
+ - uses : tauri-apps/tauri-action@v0
86
+ env :
87
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
88
+ with :
89
+ tagName : __VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
90
+ releaseName : " Win11inReact v__VERSION__"
91
+ releaseBody : ${{ github.event.issue.body }}
92
+ releaseDraft : false
93
+
0 commit comments