File tree 2 files changed +53
-2
lines changed 2 files changed +53
-2
lines changed Original file line number Diff line number Diff line change 22
22
strategy :
23
23
matrix :
24
24
# [macos-latest, ubuntu-latest, windows-latest]
25
- os : [macos-latest, windows-latest ]
25
+ os : [macos-latest]
26
26
27
27
steps :
28
28
- name : Checkout Code
47
47
uses : actions/upload-artifact@v3
48
48
with :
49
49
name : tts-vue-${{ matrix. os }}
50
- path : release/
50
+ path : release/*/*.dmg
51
51
retention-days : 30
Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ paths-ignore :
7
+ - " **.md"
8
+ - " **.spec.js"
9
+ - " .idea"
10
+ - " .vscode"
11
+ - " .dockerignore"
12
+ - " Dockerfile"
13
+ - " .gitignore"
14
+ - " .github/**"
15
+ - " !.github/workflows/main.yml"
16
+ workflow_dispatch :
17
+
18
+ jobs :
19
+ build :
20
+ runs-on : ${{ matrix.os }}
21
+
22
+ strategy :
23
+ matrix :
24
+ # [macos-latest, ubuntu-latest, windows-latest]
25
+ os : [windows-latest]
26
+
27
+ steps :
28
+ - name : Checkout Code
29
+ uses : actions/checkout@v2
30
+ with :
31
+ fetch-depth : 0
32
+
33
+ - name : Setup Node.js
34
+ uses : actions/setup-node@v2
35
+ with :
36
+ node-version : 14
37
+
38
+ - name : Install Dependencies
39
+ run : npm install
40
+
41
+ - name : Build Release Files
42
+ run : npm run build
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
+
46
+ - name : Upload Artifact
47
+ uses : actions/upload-artifact@v3
48
+ with :
49
+ name : tts-vue-${{ matrix. os }}
50
+ path : release/*/*.exe
51
+ retention-days : 30
You can’t perform that action at this time.
0 commit comments