File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 24
24
with :
25
25
fetch-depth : 0
26
26
fetch-tags : true
27
- - name : Setup Go
28
- uses : actions/setup-go@v5
29
- with :
30
- go-version : ' 1.21.x'
31
27
32
28
- name : Prepare environment
33
29
run : |
61
57
export BUILD_VERSION=$BUILD_VERSION;
62
58
EOT
63
59
64
-
65
- # - name: Generate env file
66
- # run: go run mage.go -v GenerateEnvFile
67
-
68
- # - name: Create bucket
69
- # if: github.event_name == 'push'
70
- # run: go run mage.go -v MakeBucket
71
-
72
60
- uses : actions/upload-artifact@v4
73
61
with :
74
62
name : env.sh
@@ -104,6 +92,11 @@ jobs:
104
92
with :
105
93
name : env.sh
106
94
95
+ - name : Create bucket
96
+ run : |
97
+ source env.sh
98
+ go run mage.go -v MakeBucket
99
+
107
100
- name : Setup FPM
108
101
run : |
109
102
sudo apt-get install ruby-dev build-essential
@@ -112,7 +105,7 @@ jobs:
112
105
- name : Build package
113
106
run : |
114
107
source env.sh
115
- go run mage.go -v ${{ matrix.platform }}
108
+ CI=false go run mage.go -v ${{ matrix.platform }}
116
109
117
110
build-swagger :
118
111
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments