소스 검색

fix for github action

zu1k 5 년 전
부모
커밋
673da5b59a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .github/workflows/go.yml

+ 1 - 0
.github/workflows/go.yml

@@ -27,6 +27,7 @@ jobs:
           go test ./...
 
       - name: gen go-bindata
+        if: startsWith(github.ref, 'refs/tags/')
         run: |
           go get -u github.com/go-bindata/go-bindata/...
           go-bindata -o internal/bindata/geoip/geoip.go -pkg bingeoip  assets/GeoLite2-City.mmdb