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

Updated CI for dotnet indexer support #391

Closed
wants to merge 0 commits into from
Closed

Updated CI for dotnet indexer support #391

wants to merge 0 commits into from

Conversation

TiwariAbhishek23
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 12, 2023
Copy link

netlify bot commented Nov 12, 2023

Deploy Preview for fb-oss-glean canceled.

Name Link
🔨 Latest commit a2267e4
🔍 Latest deploy log https://app.netlify.com/sites/fb-oss-glean/deploys/655c18532f7bcb00087e404c

Copy link
Contributor

@donsbot donsbot left a comment

Choose a reason for hiding this comment

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

Minor changes for path handling in the CI

chmod +x dotnet-install.sh
./dotnet-install.sh --channel ${DOTNET}
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this line. We need to set the PATH to add these pieces in a different place.

It should be something like:

echo "$DOTNET_ROOT" >> "$GITHUB_PATH"
echo "$DOTNET_ROOT/tools" >> "$GITHUB_PATH"

the ci uses slightly different PATH variables due to how github does things.

Copy link
Contributor

Choose a reason for hiding this comment

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

Alternatively, if we never need to use the dotnet command again, just invoke it via the full path.

$DOTNET_ROOT/dotnet ...

@donsbot
Copy link
Contributor

donsbot commented Nov 20, 2023

You need to rebase your branch over trunk, so that there are no conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants