Skip to content

Commit

Permalink
fix source build of aspire when CI=true
Browse files Browse the repository at this point in the history
Signed-off-by: WANG Xuerui <[email protected]>
  • Loading branch information
xen0n committed Sep 21, 2024
1 parent 4d83b63 commit d8a9ecb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions _functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ build_vmr_stage1() {
-v detailed
/p:PortableBuild=true
)
./build.sh "${args[@]}"
# CI=true interferes with dotnet/aspire's build
# see https://github.com/dotnet/dotnet/blob/v9.0.0-rc.1.24431.7/src/aspire/Directory.Build.targets#L18
CI= ./build.sh "${args[@]}"

_detect_built_version artifacts/assets/Release
mv artifacts/assets/Release/*.tar.* "$OUT_DIR"/
Expand Down Expand Up @@ -211,7 +213,9 @@ build_vmr_stage2() {
/p:PortableRid="$TARGET_RID"
/p:TargetArchitecture="$TARGET_ARCH"
)
./build.sh "${args[@]}"
# CI=true interferes with dotnet/aspire's build
# see https://github.com/dotnet/dotnet/blob/v9.0.0-rc.1.24431.7/src/aspire/Directory.Build.targets#L18
CI= ./build.sh "${args[@]}"

mv artifacts/assets/Release/*.tar.* "$OUT_DIR"/

Expand Down

0 comments on commit d8a9ecb

Please sign in to comment.