Skip to content

Commit

Permalink
This is getting verbose, try to condense
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamTheCoder committed Nov 28, 2021
1 parent c640a62 commit d56c3f8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,11 @@ jobs:
with:
vs-version: '[16.6,)'

- name: Build/Pack NuGet
run: dotnet publish CodeConverter/CodeConverter.csproj -c $env:BuildTarget

- name: Publish Web
run: dotnet publish Web\Web.csproj /p:Platform=$env:BuildPlatform /p:Configuration=$env:BuildTarget
- name: Dotnet Build
run: dotnet build DotNetBuildable.slnf /p:Platform=$env:BuildPlatform /p:Configuration=$env:BuildTarget

- name: Publish Func
run: dotnet publish Func\Func.csproj /p:Platform=$env:BuildPlatform /p:Configuration=$env:BuildTarget

- name: Build framework command line shim
run: dotnet build CommandLine/CodeConv/CodeConv.csproj -c $env:BuildTarget

- name: Build multitargeted CodeConv
run: dotnet build CommandLine/CodeConv.NetFramework/CodeConv.NetFramework.csproj -c $env:BuildTarget
- name: Dotnet Publish
run: dotnet publish DotNetPublishable.slnf /p:Platform=$env:BuildPlatform /p:Configuration=$env:BuildTarget

- name: Pack multitargeted CodeConv
run: dotnet pack CommandLine/CodeConv/CodeConv.csproj -c $env:BuildTarget
Expand Down
14 changes: 14 additions & 0 deletions DotNetBuildable.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"solution": {
"path": "CodeConverter.sln",
"projects": [
"CodeConverter\\CodeConverter.csproj",
"CommandLine\\CodeConv.NetFramework\\CodeConv.NetFramework.csproj",
"CommandLine\\CodeConv.Shared\\CodeConv.Shared.shproj",
"CommandLine\\CodeConv\\CodeConv.csproj",
"Func\\Func.csproj",
"Tests\\Tests.csproj",
"Web\\Web.csproj"
]
}
}
10 changes: 10 additions & 0 deletions DotNetPublishable.slnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"solution": {
"path": "CodeConverter.sln",
"projects": [
"CodeConverter\\CodeConverter.csproj",
"Func\\Func.csproj",
"Web\\Web.csproj"
]
}
}

0 comments on commit d56c3f8

Please sign in to comment.