File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ jobs:
10
10
runs-on : windows-latest
11
11
steps :
12
12
# 下载源码
13
- - name : Checkout code
13
+ - name : Checkout Code
14
+ id : CheckoutCode
14
15
uses : actions/checkout@v2
15
16
16
17
# 打包构建 Server
17
18
- name : Setup Go
19
+ id : SetupGo
18
20
uses : actions/setup-go@v2
19
21
with :
20
22
go-version : " 1.19.13"
@@ -26,17 +28,19 @@ jobs:
26
28
27
29
- run : go version
28
30
- run : gcc --version
29
- - run : echo '${{ steps.setupGCC.outputs.cc }}'
31
+ - run : C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin\gcc.exe --version
30
32
31
33
buildLinux :
32
34
runs-on : ubuntu-latest
33
35
steps :
34
36
# 下载源码
35
- - name : Checkout code
37
+ - name : Checkout Code
38
+ id : CheckoutCode
36
39
uses : actions/checkout@v2
37
40
38
41
# 打包构建 Server
39
- - name : Build Server
42
+ - name : Setup Go
43
+ id : SetupGo
40
44
uses : actions/setup-go@v2
41
45
with :
42
46
go-version : " 1.19.13"
@@ -48,11 +52,13 @@ jobs:
48
52
runs-on : macos-latest
49
53
steps :
50
54
# 下载源码
51
- - name : Checkout code
55
+ - name : Checkout Code
56
+ id : CheckoutCode
52
57
uses : actions/checkout@v2
53
58
54
59
# 打包构建 Server
55
- - name : Build Server
60
+ - name : Setup Go
61
+ id : SetupGo
56
62
uses : actions/setup-go@v2
57
63
with :
58
64
go-version : " 1.19.13"
You can’t perform that action at this time.
0 commit comments