change path to push
Some checks failed
Go-tags / build (push) Has been cancelled

This commit is contained in:
maximo tejeda 2024-11-13 21:10:32 -04:00
parent 0836314c51
commit 6cbe50e44b

View File

@ -21,6 +21,6 @@ jobs:
TAG_VERSION: ${{ github.ref_name }} TAG_VERSION: ${{ github.ref_name }}
run: | run: |
go build -v -o ./bin/ddnser-$TAG_VERSION ./cmd/... go build -v -o ./bin/ddnser-$TAG_VERSION ./cmd/...
zip -r ddnser-$TAG_VERSION ./bin/ddnser-$TAG_VERSION zip -r ddnser-$TAG_VERSION.zip ./bin/ddnser-$TAG_VERSION
curl --user $USERNAME:$TOKEN --upload-file ./ddnser-$TAG_VERSION.zip http://10.0.0.171/api/packages/$USERNAME/go/upload curl --user $USERNAME:$TOKEN --upload-file ./ddnser-$TAG_VERSION.zip http://10.0.0.171/api/packages/$USERNAME/go/upload