Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 8493c62

Browse files
authored
[CI] move env to run
1 parent 2552d4b commit 8493c62

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.circleci/config.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ jobs:
1414
- run:
1515
name:
1616
Build AMD64
17-
environmemt:
18-
GOARCH: amd64
1917
command: |
18+
GOARCH=amd64
2019
GOOS=windows
2120
go build -o ~/release/fgit-windows-amd64.exe fgit.go
2221
GOOS=darwin
@@ -27,9 +26,8 @@ jobs:
2726
- run:
2827
name:
2928
Build 386
30-
environmemt:
31-
GOARCH: 386
3229
command: |
30+
GOARCH=386
3331
GOOS=windows
3432
go build -o ~/release/fgit-windows-386.exe fgit.go
3533
GOOS=linux
@@ -38,18 +36,16 @@ jobs:
3836
- run:
3937
name:
4038
Build ARM
41-
environmemt:
42-
GOARCH: arm
4339
command: |
40+
GOARCH=arm
4441
GOOS=linux
4542
go build -o ~/release/fgit-linux-arm fgit.go
4643
4744
- run:
4845
name:
4946
Build ARM64
50-
environmemt:
51-
GOARCH: arm64
5247
command: |
48+
GOARCH=arm64
5349
GOOS=linux
5450
go build -o ~/release/fgit-linux-arm64 fgit.go
5551

0 commit comments

Comments
 (0)