Explorar el Código

fix for github action

zu1k hace 5 años
padre
commit
673da5b59a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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