From 623a8f92fdb9bad3abca1323dee53f7b7201525d Mon Sep 17 00:00:00 2001 From: Filip Szweda Date: Mon, 23 Oct 2023 11:44:07 +0200 Subject: [PATCH] Skip gtest when copying licenses --- .github/workflows/build-test-and-publish-release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-test-and-publish-release.yaml b/.github/workflows/build-test-and-publish-release.yaml index 2901da0f..e115f9a6 100644 --- a/.github/workflows/build-test-and-publish-release.yaml +++ b/.github/workflows/build-test-and-publish-release.yaml @@ -65,6 +65,10 @@ jobs: requirements="$(cat conanfile.txt | tr "\n" " " | grep -Po "\[requires\] \K[^\[]+")" for requirement in $requirements; do + if printf "%s" "${requirement}" | grep -q "gtest/"; then + continue + fi + requirementPath=${{ env.ARTIFACT_PATH }}/thirdparty/${requirement} mkdir -p "${requirementPath}"