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

chore: add nuget config for csharp sdks #3621

Merged
merged 10 commits into from
May 15, 2024
Merged

chore: add nuget config for csharp sdks #3621

merged 10 commits into from
May 15, 2024

Conversation

armandobelardo
Copy link
Contributor

No description provided.

@armandobelardo armandobelardo requested a review from dsinghvi as a code owner May 14, 2024 20:38
}).replaceAll("\\{", "{");
const ghDir = join(this.absolutePathToOutputDirectory, RelativeFilePath.of(".github/workflows"));
await mkdir(ghDir, { recursive: true });
await writeFile(join(ghDir, RelativeFilePath.of("ci.yml")), githubWorkflow);
Copy link
Member

Choose a reason for hiding this comment

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

how do we make sure this only happens when the generator is in github mode?

Copy link
Contributor Author

@armandobelardo armandobelardo May 15, 2024

Choose a reason for hiding this comment

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

This is already the case!

The template has a conditional that's if the publish block is present, which is a GitHub output block

I tested it and it works well, the whole block is added or removed

Check the template evaluation a couple lines above

Copy link
Contributor Author

@armandobelardo armandobelardo May 15, 2024

Choose a reason for hiding this comment

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

@armandobelardo armandobelardo requested a review from dsinghvi May 15, 2024 11:06
Copy link
Member

@dsinghvi dsinghvi left a comment

Choose a reason for hiding this comment

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

🙏

@armandobelardo armandobelardo merged commit 9023169 into main May 15, 2024
27 checks passed
@armandobelardo armandobelardo deleted the ab/nuget branch May 15, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants