Skip to content

Fix failing GitHub Actions "copilot" job: msbuild not found in bash shell#209

Merged
markusrt merged 2 commits into
masterfrom
copilot/update-speziesidentifikation-maldi
Jun 10, 2026
Merged

Fix failing GitHub Actions "copilot" job: msbuild not found in bash shell#209
markusrt merged 2 commits into
masterfrom
copilot/update-speziesidentifikation-maldi

Conversation

Copilot AI commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Root Cause

The "Build solution" setup step in .github/workflows/copilot-setup-steps.yml was being executed by the Copilot cloud agent using Git Bash (bash.EXE). Since microsoft/setup-msbuild adds msbuild.exe to the Windows PATH (accessible from PowerShell/cmd but not Git Bash), the command failed with:

msbuild: command not found
exit code 127

Fix

Added shell: cmd to the "Build solution" step so msbuild is always resolved from the Windows PATH regardless of which shell the Copilot agent uses to execute the step.

…s.yml

Co-authored-by: markusrt <299753+markusrt@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement species identification for Nm and Hi on MALDI Fix failing GitHub Actions "copilot" job: msbuild not found in bash shell Jun 10, 2026
@markusrt markusrt marked this pull request as ready for review June 10, 2026 08:58
@markusrt markusrt merged commit c134396 into master Jun 10, 2026
1 check passed
@sonarqubecloud

Copy link
Copy Markdown

@markusrt markusrt deleted the copilot/update-speziesidentifikation-maldi branch June 10, 2026 08:58
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.

Speziesidentifikation auf MALDI (Biotyper) umstellen – Nm/Hi + PR #186 berücksichtigen

2 participants