Skip to content

Commit df6c271

Browse files
committed
Update release.yml
1 parent 16380e0 commit df6c271

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ jobs:
4747
- name: Build YAFNET
4848
if: steps.check.outputs.exists != 'true'
4949
working-directory: yafsrc
50-
run: dotnet build YAF.NET-SqlServer.slnx /p:Configuration=Release /p:Platform="Any CPU" /p:WarningLevel=0
50+
# Build the web project directly rather than YAF.NET-SqlServer.slnx: the
51+
# solution also lists ../tests/YAF.Tests.CoreTests, a path that reaches
52+
# outside the yafsrc junction and resolves lexically against the wrong
53+
# (nonexistent) directory. YAF-SqlServer.csproj's own ProjectReferences
54+
# all stay within yafsrc, so building it directly avoids that.
55+
run: dotnet build YetAnotherForum.NET/YAF-SqlServer.csproj /p:Configuration=Release /p:Platform="Any CPU" /p:WarningLevel=0
5156

5257
- name: Restore
5358
if: steps.check.outputs.exists != 'true'

0 commit comments

Comments
 (0)