Skip to content

Commit 1fe97a0

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 1fe97a0

3 files changed

Lines changed: 2 additions & 7 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>

src/Demo/Demo.slnx

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)