Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sparse checkout in build job #36119

Closed
wants to merge 1 commit into from

Conversation

hallipr
Copy link
Member

@hallipr hallipr commented May 8, 2023

Use sparse checkout in Build job to reduce job run time

@hallipr
Copy link
Member Author

hallipr commented May 8, 2023

/azp run net - core - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@hallipr
Copy link
Member Author

hallipr commented May 8, 2023

/azp run net - communication - ci

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@hallipr hallipr force-pushed the users/pahallis/sparse-checkout branch from 9cd42df to cd5d2e8 Compare May 8, 2023 22:15
@@ -52,6 +52,11 @@ jobs:
Codeql.SkipTaskAutoInjection: false

steps:
- template: /eng/common/pipelines/templates/steps/sparse-checkout.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't you say this break sourcelink?

Copy link
Member Author

@hallipr hallipr May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. I'm closing the PR. We can't use sparese checkouts with source link until they release a package with this fix:
dotnet/sourcelink#772
for this issue:
dotnet/sourcelink#771

@hallipr hallipr closed this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants