File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 9
9
10
10
env :
11
11
GO111MODULE : off
12
+ # to fix https://github.com/niemeyer/gopkg/issues/78
13
+ # https://github.com/niemeyer/gopkg/issues/78#issuecomment-1573422305
14
+ GOPROXY : https://proxy.golang.org
12
15
13
16
jobs :
14
17
build :
20
23
with :
21
24
go-version : 1.17
22
25
23
- -
24
- name : Install Cloudsmith CLI
25
- run : pip install --upgrade cloudsmith-cli
26
- # Cloudsmith CLI tooling for pushing releases
27
- # See https://help.cloudsmith.io/docs/cli
28
-
29
26
-
30
27
name : Checkout
31
28
uses : actions/checkout@v2
53
50
env :
54
51
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
52
53
+ -
54
+ name : Install Cloudsmith CLI
55
+ if : success() && startsWith(github.ref, 'refs/tags/')
56
+ run : pip install --upgrade cloudsmith-cli
57
+ # Cloudsmith CLI tooling for pushing releases
58
+ # See https://help.cloudsmith.io/docs/cli
59
+
56
60
# Publish to cloudsmith repo
57
61
-
58
62
name : Publish package to cloudsmith
You can’t perform that action at this time.
0 commit comments