File tree Expand file tree Collapse file tree
MbSoftLab.TemplateEngine.Core.Razor
MbSoftLab.TemplateEngine.Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Docs to Wiki
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' docs/**'
8+ workflow_dispatch :
9+
10+ jobs :
11+ publish-wiki :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+
17+ - name : Publish /docs to GitHub Wiki
18+ uses : SwiftDocOrg/github-wiki-publish-action@v1
19+ with :
20+ github_token : ${{ secrets.GITHUB_TOKEN }}
21+ path : docs
22+ # Optional: keep history tidy
23+ commit_message : ' docs: publish to wiki from /docs'
24+ # Optional: remove files not present in docs
25+ allow_empty_commit : false
Original file line number Diff line number Diff line change 1919 run : dotnet restore MbSoftLab.TemplateEngine.Core.sln
2020 - name : Build
2121 run : dotnet build MbSoftLab.TemplateEngine.Core.sln --configuration Release --no-restore
22- - name : Pack
23- run : dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
22+ - name : Pack Core and Razor projects
23+ run : |
24+ mkdir artifacts
25+ dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
26+ dotnet pack MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj --configuration Release --no-restore -o ./artifacts
2427 - name : Push to NuGet
2528 run : dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net8.0</TargetFramework >
5- <AssemblyVersion >1.1.0 .0</AssemblyVersion >
6- <FileVersion >1.1.0 .0</FileVersion >
7- <Version >1.1.0 </Version >
8- <PackageVersion >1.1.0-preview </PackageVersion >
5+ <AssemblyVersion >1.1.1 .0</AssemblyVersion >
6+ <FileVersion >1.1.1 .0</FileVersion >
7+ <Version >1.1.1 </Version >
8+ <PackageVersion >1.1.1 </PackageVersion >
99 <Description >Razor-enabled extension for MbSoftLab.TemplateEngine.Core providing RazorTemplateEngine.</Description >
1010 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
1111 <PackageRequireLicenseAcceptance >true</PackageRequireLicenseAcceptance >
1616 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1717 <Copyright >© 2021 - 2025 MbSoftLab</Copyright >
1818 <PackageIcon >MbSoftLabLogo.png</PackageIcon >
19+ <PackageReadmeFile >README.md</PackageReadmeFile >
1920 <PackageProjectUrl >https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl >
2021 <RepositoryUrl >https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl >
2122 <RepositoryType >Git</RepositoryType >
3233 <Pack >True</Pack >
3334 <PackagePath ></PackagePath >
3435 </None >
36+ <None Include =" README.md" >
37+ <Pack >True</Pack >
38+ <PackagePath >\</PackagePath >
39+ </None >
3540 </ItemGroup >
3641
3742</Project >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >net8.0</TargetFramework >
5- <AssemblyVersion >1.1.0 .0</AssemblyVersion >
6- <FileVersion >1.1.0 .0</FileVersion >
7- <Version >1.1.0 </Version >
8- <PackageVersion >1.1.0-preview </PackageVersion >
5+ <AssemblyVersion >1.1.1 .0</AssemblyVersion >
6+ <FileVersion >1.1.1 .0</FileVersion >
7+ <Version >1.1.1 </Version >
8+ <PackageVersion >1.1.1 </PackageVersion >
99 <Description >This TemplateEngine can replace values from Classpropertys and methods in simple stringtemplates with a very good performance. The Engine supports the RazorLanguage for creating complex html templates.</Description >
1010 <DocumentationFile >Documentation.xml</DocumentationFile >
1111 <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
1717 <PackageLicenseExpression >MIT</PackageLicenseExpression >
1818 <Copyright >© 2021 - 2025 MbSoftLab</Copyright >
1919 <PackageIcon >MbSoftLabLogo.png</PackageIcon >
20+ <PackageReadmeFile >README.md</PackageReadmeFile >
2021 <PackageIconUrl />
2122 <PackageProjectUrl >https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl >
2223 <RepositoryUrl >https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl >
2829 <Pack >True</Pack >
2930 <PackagePath ></PackagePath >
3031 </None >
32+ <None Include =" ..\README.md" Link =" README.md" >
33+ <Pack >True</Pack >
34+ <PackagePath >\</PackagePath >
35+ </None >
3136 </ItemGroup >
3237
3338 <ItemGroup >
You can’t perform that action at this time.
0 commit comments