Skip to content

Commit 078b9b7

Browse files
authored
[CI] Remove self annotation from apk-instrumentation.yaml (#9384)
Context: 5cd9a26 Context: e55c38f The monodroid pipeline recently started failing to build with: /build-tools/automation/yaml-templates/apk-instrumentation.yaml@xa-yaml: Could not find /build-tools/automation/yaml-templates/run-dotnet-preview.yaml in repository self hosted on https://github.com/ using commit 0f5fd98ec70af48f03a67577e5ef9a360c2f0650. GitHub reported the error, "Not Found" The @ self yaml template annotation should only be used in the pipeline file, and not in nested templates. This should fix potential issues with other repos that use these templates.
1 parent e55c38f commit 078b9b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/automation/yaml-templates/apk-instrumentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ steps:
4242
testRunTitle: ${{ parameters.testName }}
4343
condition: and(${{ parameters.condition }}, ne('${{ parameters.testResultsFiles }}', ''))
4444

45-
- template: /build-tools/automation/yaml-templates/run-dotnet-preview.yaml@self
45+
- template: /build-tools/automation/yaml-templates/run-dotnet-preview.yaml
4646
parameters:
4747
project: ${{ parameters.project }}
4848
arguments: -t:Clean -c ${{ parameters.configuration }} --no-restore

0 commit comments

Comments
 (0)