From 6bf56faba9207d900ba7e36bcb59ad88484ddc26 Mon Sep 17 00:00:00 2001 From: Pan Shao Date: Thu, 19 Dec 2024 10:17:50 +0800 Subject: [PATCH] Fix cadl-ranch coverage breaking change --- eng/emitters/pipelines/templates/steps/test-step.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/emitters/pipelines/templates/steps/test-step.yml b/eng/emitters/pipelines/templates/steps/test-step.yml index db44e14b1e..04c7943ccc 100644 --- a/eng/emitters/pipelines/templates/steps/test-step.yml +++ b/eng/emitters/pipelines/templates/steps/test-step.yml @@ -74,5 +74,5 @@ steps: azureSubscription: "TypeSpec Storage" scriptType: "bash" scriptLocation: "inlineScript" - inlineScript: npx tsp-spector upload-coverage --coverageFile ./generator/artifacts/coverage/tsp-spector-coverage-${{ parameters.LanguageShortName }}-standard.json --generatorName ${{ coalesce(parameters.CadlRanchName, parameters.LanguageShortName) }} --storageAccountName typespec --generatorVersion $(node -p -e "require('./package.json').version") --generatorMode standard + inlineScript: npx tsp-spector upload-coverage --coverageFile ./generator/artifacts/coverage/tsp-spector-coverage-${{ parameters.LanguageShortName }}-standard.json --generatorName ${{ coalesce(parameters.CadlRanchName, parameters.LanguageShortName) }} --storageAccountName typespec --containerName coverages --generatorVersion $(node -p -e "require('./package.json').version") --generatorMode standard workingDirectory: $(selfRepositoryPath)${{ parameters.PackagePath }}