Skip to content

Commit 347baa6

Browse files
committed
fix(github actions): 🐛 publish
1 parent b2cf39f commit 347baa6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- run: curl https://proxy.golang.org/github.com/ninedraft/gemax/@v/${{ github.ref }}.info
11+
- uses: actions/checkout@v2
12+
- run: ./scripts/publish.sh ${{ github.ref }}

scripts/publish.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
tag=${$1%%"refs/tags/"}
4+
curl https://proxy.golang.org/github.com/ninedraft/gemax/@v/$tag.info

0 commit comments

Comments
 (0)