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 2877719 commit f56cc78Copy full SHA for f56cc78
.github/workflows/publish.yaml
@@ -0,0 +1,27 @@
1
+name: Publish artifacts
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+concurrency: release-${{ github.event.release.tag_name }}
8
9
+defaults:
10
+ run:
11
+ shell: bash
12
13
+jobs:
14
+ publish-go-module:
15
+ name: Publish go module
16
+ runs-on: ubuntu-22.04
17
18
+ steps:
19
+ - name: Trigger registration on sum.golang.org
20
+ run: |
21
+ repository=${{ github.repository }}
22
+ tag=${{ github.event.release.tag_name }}
23
+ curl -sSf \
24
+ --max-time 30 \
25
+ --retry 5 \
26
+ --retry-max-time 300 \
27
+ https://sum.golang.org/lookup/github.com/${repository,,}@${tag}
0 commit comments