22
22
steps :
23
23
- uses : actions/checkout@v4
24
24
25
+ - name : Check Release Exists
26
+ env :
27
+ GH_TOKEN : ${{ github.token }}
28
+ run : |
29
+ VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
30
+ echo "Releasing version: $VERSION"
31
+ if gh release view "v$VERSION" > /dev/null 2>&1; then
32
+ echo "Release $VERSION already exists!"
33
+ exit 1
34
+ fi
35
+
25
36
- name : Setup NodeJS
26
37
uses : actions/setup-node@v4
27
38
with :
36
47
- name : Install Node Modules
37
48
run : npm install
38
49
39
- - name : Check Release Exists
40
- env :
41
- GH_TOKEN : ${{ github.token }}
42
- run : |
43
- VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
44
- echo "Releasing version: $VERSION"
45
- if gh release view "v$VERSION" > /dev/null 2>&1; then
46
- echo "Release $VERSION already exists!"
47
- exit 1
48
- fi
49
-
50
50
- name : Build Huly Browser
51
51
uses : tauri-apps/tauri-action@v0
52
52
id : tauri-build
87
87
steps :
88
88
- uses : actions/checkout@v4
89
89
90
- - name : Setup NodeJS
91
- uses : actions/setup-node@v4
92
- with :
93
- node-version : lts/*
94
-
95
- - name : Install Node Modules
96
- run : npm install
97
-
98
90
- name : Check Release Exists
99
91
env :
100
92
GH_TOKEN : ${{ github.token }}
@@ -106,6 +98,19 @@ jobs:
106
98
exit 1
107
99
fi
108
100
101
+ - name : Setup NodeJS
102
+ uses : actions/setup-node@v4
103
+ with :
104
+ node-version : lts/*
105
+
106
+ - name : Install Node Modules
107
+ run : npm install
108
+
109
+ - name : Install Rust Targets
110
+ run : |
111
+ rustup target add aarch64-apple-darwin
112
+ rustup target add x86_64-apple-darwin
113
+
109
114
- name : Import Apple Developer Certificate
110
115
env :
111
116
APPLE_CERTIFICATE : ${{ secrets.APPLE_CERTIFICATE }}
0 commit comments