File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change 5
5
- image : circleci/node:10.8.0
6
6
steps :
7
7
- checkout
8
- - attach_workspace :
9
- at : ./ui/dist
10
8
- run :
11
9
name : " Install dependencies"
12
10
command : npm install
19
17
name : " Build"
20
18
command : npm run build
21
19
working_directory : ui
20
+ - persist_to_workspace :
21
+ root : .
22
+ paths :
23
+ - ui/dist/*
22
24
23
25
backend :
24
26
docker :
@@ -28,19 +30,22 @@ jobs:
28
30
steps :
29
31
- checkout
30
32
- attach_workspace :
31
- at : ./ui/dist
32
- - attach_workspace :
33
- at : ./release
33
+ at : .
34
+ - run : ls -al **
34
35
- run : go get -v -t -d ./...
35
36
- run : go test -v ./...
36
37
- run :
37
38
working_directory : cmd/ssl-game-controller
38
39
command : |
39
- go get -v github.com/gobuffalo/packr/...
40
+ go get -v github.com/gobuffalo/packr/packr
40
41
GOOS=linux GOARCH=amd64 packr build -o ../../release/linux/ssl-game-controller
41
42
GOOS=windows GOARCH=amd64 packr build -o ../../release/windows/ssl-game-controller.exe
42
43
GOOS=darwin GOARCH=amd64 packr build -o ../../release/darwin/ssl-game-controller
43
44
- run : ls -al **
45
+ - persist_to_workspace :
46
+ root : .
47
+ paths :
48
+ - release/*
44
49
45
50
deploy :
46
51
docker :
49
54
working_directory : /go/src/github.com/g3force/ssl-game-controller
50
55
steps :
51
56
- attach_workspace :
52
- at : ./release
57
+ at : .
53
58
- run : ls -al **
54
59
55
60
publish-github-release :
58
63
steps :
59
64
- attach_workspace :
60
65
at : ./release
61
- - run : ls -al **
62
66
- run :
63
67
name : " Publish Release on GitHub"
64
68
command : |
@@ -77,6 +81,6 @@ workflows:
77
81
- deploy :
78
82
requires :
79
83
- backend
80
- - publish-github-release :
81
- requires :
82
- - backend
84
+ # - publish-github-release:
85
+ # requires:
86
+ # - backend
You can’t perform that action at this time.
0 commit comments