Skip to content

Commit 6a37819

Browse files
authored
Create pkg.go.dev.yml
1 parent 55137e2 commit 6a37819

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/pkg.go.dev.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Update pkg.go.dev
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
update-pkg-go-dev:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# see https://pkg.go.dev/about#adding-a-package
13+
- name: Update pkg.go.dev
14+
run: |
15+
ESCAPED_MODULE=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')
16+
curl https://proxy.golang.org/github.com/$ESCAPED_MODULE/@v/$GITHUB_REF_NAME.info

0 commit comments

Comments
 (0)