Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,41 @@ jobs:
build:

runs-on: ubuntu-latest
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you need to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because this environment is not defined on build server


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore dependencies
run: dotnet restore

- name: Run Generator
run: dotnet run --project Src/Generate/

- name: Build
run: dotnet build --no-restore -bl

- name: Pack Solution
run: dotnet pack -p:PackageOutputPath="${GITHUB_WORKSPACE}/packages" -p:IncludeSymbols=false -p:RepositoryCommit=${GITHUB_SHA} -p:PackageVersion="0.0.0.1"

- name: Test
run: dotnet test --framework net8.0 --no-build --verbosity normal

- name: Upload Binary Log
uses: actions/upload-artifact@v3
- name: Upload Binary Log
uses: actions/upload-artifact@v4
if: always()
with:
name: binary-log
path: msbuild.binlog

- name: Upload Packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: nuget-packages
Expand Down
28 changes: 28 additions & 0 deletions Basic.Reference.Assemblies.sln
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Reference.Assemblies.
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Reference.Assemblies.AspNet90", "Src\Basic.Reference.Assemblies.AspNet90\Basic.Reference.Assemblies.AspNet90.csproj", "{72C15DA0-4D3F-424A-9717-AB8B332A8DD4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Reference.Assemblies.Net100", "Src\Basic.Reference.Assemblies.Net100\Basic.Reference.Assemblies.Net100.csproj", "{B0E6B1FC-B538-42A1-A40C-279A24211AEB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Basic.Reference.Assemblies.AspNet100", "Src\Basic.Reference.Assemblies.AspNet100\Basic.Reference.Assemblies.AspNet100.csproj", "{4C5A0446-FADA-479E-8863-1D0D56A35DC4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -293,6 +297,30 @@ Global
{72C15DA0-4D3F-424A-9717-AB8B332A8DD4}.Release|x64.Build.0 = Release|Any CPU
{72C15DA0-4D3F-424A-9717-AB8B332A8DD4}.Release|x86.ActiveCfg = Release|Any CPU
{72C15DA0-4D3F-424A-9717-AB8B332A8DD4}.Release|x86.Build.0 = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|x64.ActiveCfg = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|x64.Build.0 = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|x86.ActiveCfg = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Debug|x86.Build.0 = Debug|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|Any CPU.Build.0 = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|x64.ActiveCfg = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|x64.Build.0 = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|x86.ActiveCfg = Release|Any CPU
{B0E6B1FC-B538-42A1-A40C-279A24211AEB}.Release|x86.Build.0 = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|x64.ActiveCfg = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|x64.Build.0 = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|x86.ActiveCfg = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Debug|x86.Build.0 = Debug|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|Any CPU.Build.0 = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|x64.ActiveCfg = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|x64.Build.0 = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|x86.ActiveCfg = Release|Any CPU
{4C5A0446-FADA-479E-8863-1D0D56A35DC4}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<IsPackable>true</IsPackable>
<RunAnalyzers>false</RunAnalyzers>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App.Ref" Version="10.0.0-preview.4.25258.110" IncludeAssets="none" PrivateAssets="all" GeneratePathProperty="true"/>
</ItemGroup>

<Import Project="Generated.targets"/>
</Project>
Loading