Skip to content

Commit fd60da6

Browse files
committed
Demo can now rely on plain build working
Since we support automatic restore of file-app package references in a single run.
1 parent 7340b9b commit fd60da6

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/demos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
pushd src/Demo
4242
jq --arg version "$version" '.["msbuild-sdks"].SmallSharp = $version' global.json > temp.json && mv temp.json global.json
4343
# build with each top-level file as the active one
44-
gci *.cs | %{ dotnet build -p:ActiveFile=$_.name }
44+
gci *.cs | %{ dotnet build -p:ActiveFile=$_.name || exit $LASTEXITCODE }
4545

src/Demo/Demo.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<Sdk Name="SmallSharp" />
1+
<Project Sdk="SmallSharp">
42

53
<PropertyGroup>
64
<OutputType>Exe</OutputType>

0 commit comments

Comments
 (0)