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

Dependencies from prior build jobs are not included when using useProjectDependencies #826

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

freddydk
Copy link
Contributor

Fixes #823

This pull request includes changes related to the handling of dependencies artifacts in several files. The most important changes include adding a new step to upload dependencies artifacts, modifying the if condition for uploading dependency artifacts, and updating the GetDependencies function to include the dependencies folder in its search for dependencies.

Dependency handling changes:

  • Templates/Per Tenant Extension/.github/workflows/_BuildALGoProject.yaml: Added a new step to upload dependencies artifacts and added the generateDependencyArtifact input to the get parameter in two jobs. (F1a2b3c4R1)
  • Actions/Github-Helper.psm1: Updated the GetDependencies function to include the dependencies folder in its search for dependencies. (F2d3e4f5R1)
  • Templates/AppSource App/.github/workflows/_BuildALGoProject.yaml: Modified the if condition for uploading dependency artifacts to check if the generateDependencyArtifact environment variable is true before uploading. (F3g4h5i6R1)

Other changes:

  • Actions/CalculateArtifactNames/action.yaml: Added a new output variable for dependencies artifacts name to the CalculateArtifactNames action. (F4j5k6l7R1)
  • RELEASENOTES.md: Added a new issue to the release notes. (F7m8n9o1R1)
  • Actions/CalculateArtifactNames/README.md: Added a new output variable called ThisBuildDependenciesArtifactsName to the table in the Actions/CalculateArtifactNames/README.md file. (F0p1q2r3R1)
  • Actions/CalculateArtifactNames/CalculateArtifactNames.ps1: Updated the Set-OutputVariable command to include the dependencies folder in the search for dependencies. (F4s5t6u7R1)
  • Actions/RunPipeline/RunPipeline.ps1: Updated the generateDependencyArtifact parameter to be a boolean value. (F8v9w1x2R1)

@freddydk freddydk requested a review from a team as a code owner November 16, 2023 10:19
mazhelez
mazhelez previously approved these changes Nov 17, 2023
elbardel
elbardel previously approved these changes Nov 17, 2023
@freddydk freddydk merged commit 83759ff into microsoft:main Nov 20, 2023
4 checks passed
@freddydk freddydk deleted the issue823 branch December 17, 2023 07:10
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.

Indirect dependencies not resolved correctly in multi project repo
4 participants