We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bcfd85 commit 0a673d9Copy full SHA for 0a673d9
.github/workflows/go-release-build.yml
@@ -20,12 +20,6 @@ jobs:
20
with:
21
go-version: 1.17
22
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
30
name: Checkout
31
uses: actions/checkout@v2
@@ -55,6 +49,13 @@ jobs:
55
49
env:
56
50
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57
51
52
+ -
53
+ name: Install Cloudsmith CLI
54
+ if: success() && startsWith(github.ref, 'refs/tags/')
+ run: pip install --upgrade cloudsmith-cli
+ # Cloudsmith CLI tooling for pushing releases
+ # See https://help.cloudsmith.io/docs/cli
58
+
59
# Publish to cloudsmith repo
60
61
name: Publish package to cloudsmith
0 commit comments