diff --git a/chainlink-testing-framework/build-tests/action.yml b/chainlink-testing-framework/build-tests/action.yml index 27138b9..2d8fa36 100644 --- a/chainlink-testing-framework/build-tests/action.yml +++ b/chainlink-testing-framework/build-tests/action.yml @@ -79,11 +79,11 @@ runs: PATH=$PATH:$(go env GOPATH)/bin export PATH TAGS="${{ inputs.go_tags }}" - if [ -z "$TAGS" ]; then + if [ -n "$TAGS" ]; then echo "Using build tags: $TAGS" - TAGS="-tags ${TAGS}" + TAGS="-tags ${TAGS} " fi - cd ./integration-tests && go test -c $TAGS -ldflags="-s -w" -o ./tests ./${{ inputs.test_type }} + cd ./integration-tests && go test -c $TAGS-ldflags="-s -w" -o ./tests ./${{ inputs.test_type }} echo "Built binary at ./integration-tests/tests" - name: Publish Binary