Skip to content

Commit

Permalink
fix tags condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Jan 10, 2024
1 parent bbe9155 commit 7f6497d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chainlink-testing-framework/build-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f6497d

Please sign in to comment.