Skip to content

Update build.yml#174

Merged
michaldengusiak merged 2 commits into
HoareLea:masterfrom
SAM-BIM:fix-build
Apr 1, 2026
Merged

Update build.yml#174
michaldengusiak merged 2 commits into
HoareLea:masterfrom
SAM-BIM:fix-build

Conversation

@michaldengusiak
Copy link
Copy Markdown
Member

Summary

fix build

Validation

How to verify or test the change.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f4e9a3e2b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +223 to +224
& msbuild $sln /t:Restore @args
if ($LASTEXITCODE -ne 0) { throw "MSBuild restore failed: $repoName ($cfg)" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Reapply ReferencePath before Revit-specific builds

The Revit builds were moved into separate steps, but those steps invoke msbuild without re-setting ReferencePath. In GitHub Actions, environment variables assigned in one step (like $env:ReferencePath in the shared-deps step) do not persist to later steps unless exported via GITHUB_ENV, so Build + snapshot Revit 2025/2026 runs with the default reference search path. If SAM_Revit_UI or SAM_Revit resolve dependencies from SAM_Windows\build or SAM_UI\build, these steps will fail with unresolved references even though the shared dependency step succeeded.

Useful? React with 👍 / 👎.

@michaldengusiak
Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@michaldengusiak michaldengusiak merged commit b2ab35a into HoareLea:master Apr 1, 2026
2 checks passed
@michaldengusiak michaldengusiak deleted the fix-build branch April 1, 2026 10:06
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.

2 participants