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
25 changes: 25 additions & 0 deletions .github/workflows/PublishDocsToWiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Docs to Wiki

on:
push:
branches: [ master ]
paths:
- 'docs/**'
workflow_dispatch:

jobs:
publish-wiki:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Publish /docs to GitHub Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
path: docs
# Optional: keep history tidy
commit_message: 'docs: publish to wiki from /docs'
# Optional: remove files not present in docs
allow_empty_commit: false
7 changes: 5 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
run: dotnet restore MbSoftLab.TemplateEngine.Core.sln
- name: Build
run: dotnet build MbSoftLab.TemplateEngine.Core.sln --configuration Release --no-restore
- name: Pack
run: dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
- name: Pack Core and Razor projects
run: |
mkdir artifacts
dotnet pack MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj --configuration Release --no-restore -o ./artifacts
dotnet pack MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj --configuration Release --no-restore -o ./artifacts
- name: Push to NuGet
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
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<Version>1.1.0</Version>
<PackageVersion>1.1.0-preview</PackageVersion>
<AssemblyVersion>1.1.1.0</AssemblyVersion>
<FileVersion>1.1.1.0</FileVersion>
<Version>1.1.1</Version>
<PackageVersion>1.1.1</PackageVersion>
<Description>Razor-enabled extension for MbSoftLab.TemplateEngine.Core providing RazorTemplateEngine.</Description>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -16,6 +16,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>© 2021 - 2025 MbSoftLab</Copyright>
<PackageIcon>MbSoftLabLogo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl>
<RepositoryUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
Expand All @@ -32,6 +33,10 @@
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
<Version>1.1.0</Version>
<PackageVersion>1.1.0-preview</PackageVersion>
<AssemblyVersion>1.1.1.0</AssemblyVersion>
<FileVersion>1.1.1.0</FileVersion>
<Version>1.1.1</Version>
<PackageVersion>1.1.1</PackageVersion>
<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>
<DocumentationFile>Documentation.xml</DocumentationFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand All @@ -17,6 +17,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>© 2021 - 2025 MbSoftLab</Copyright>
<PackageIcon>MbSoftLabLogo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIconUrl />
<PackageProjectUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</PackageProjectUrl>
<RepositoryUrl>https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core</RepositoryUrl>
Expand All @@ -28,6 +29,10 @@
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<None Include="..\README.md" Link="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
Expand Down
Loading