Skip to content

Commit 734d8ad

Browse files
committed
[build] update circleci
1 parent d0c3ddf commit 734d8ad

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.circleci/config.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
- checkout
3232
- attach_workspace:
3333
at: .
34-
- run: ls -al **
3534
- run: go get -v -t -d ./...
3635
- run: go test -v ./...
3736
- run:
@@ -41,28 +40,17 @@ jobs:
4140
GOOS=linux GOARCH=amd64 packr build -o ../../release/linux/ssl-game-controller
4241
GOOS=windows GOARCH=amd64 packr build -o ../../release/windows/ssl-game-controller.exe
4342
GOOS=darwin GOARCH=amd64 packr build -o ../../release/darwin/ssl-game-controller
44-
- run: ls -al **
4543
- persist_to_workspace:
4644
root: .
4745
paths:
4846
- release/*
4947

50-
deploy:
51-
docker:
52-
- image: circleci/golang:1.10
53-
54-
working_directory: /go/src/github.com/g3force/ssl-game-controller
55-
steps:
56-
- attach_workspace:
57-
at: .
58-
- run: ls -al **
59-
6048
publish-github-release:
6149
docker:
6250
- image: circleci/golang:1.8
6351
steps:
6452
- attach_workspace:
65-
at: ./release
53+
at: .
6654
- run:
6755
name: "Publish Release on GitHub"
6856
command: |
@@ -78,9 +66,6 @@ workflows:
7866
- backend:
7967
requires:
8068
- frontend
81-
- deploy:
69+
- publish-github-release:
8270
requires:
83-
- backend
84-
# - publish-github-release:
85-
# requires:
86-
# - backend
71+
- backend

0 commit comments

Comments
 (0)