Skip to content

Commit b91170d

Browse files
committed
create win.yml
1 parent 89f03d3 commit b91170d

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

.github/workflows/extra.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11

2-
name: Update Dependencies and Test on Windows
2+
name: Update Dependencies
33

44
on:
55
push:
66
branches: [ master ]
7-
pull_request:
8-
branches: [ master ]
97
repository_dispatch:
10-
# go-wechaty updated
118
types: [ updatedeps ]
129

1310
jobs:
@@ -47,24 +44,3 @@ jobs:
4744
4845
[1]: https://github.com/peter-evans/create-pull-request
4946
branch: update-dependencies
50-
51-
Build:
52-
name: Build on Windows
53-
# needs: UpdateDep
54-
# Test on Windows
55-
runs-on: windows-latest
56-
57-
steps:
58-
- name: Checkout
59-
uses: actions/checkout@v2
60-
61-
- name: Setup Go environment
62-
uses: actions/[email protected]
63-
with:
64-
go-version: 1.14.4 # optional
65-
66-
- name: Build Dingdongbot
67-
run: |
68-
go vet ./...
69-
make install
70-
make test

.github/workflows/win.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test on Windows
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
Build:
11+
name: Build on Windows
12+
runs-on: windows-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Setup Go environment
19+
uses: actions/[email protected]
20+
with:
21+
go-version: 1.14.4 # optional
22+
23+
- name: Build Dingdongbot
24+
run: |
25+
go vet ./...
26+
make install
27+
make test

0 commit comments

Comments
 (0)