diff --git a/.github/workflows/PublishDocsToWiki.yml b/.github/workflows/PublishDocsToWiki.yml new file mode 100644 index 0000000..08749c8 --- /dev/null +++ b/.github/workflows/PublishDocsToWiki.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 59d6f05..3aca9a4 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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 diff --git a/MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj b/MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj index 4d9a9e0..cebf409 100644 --- a/MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj +++ b/MbSoftLab.TemplateEngine.Core.Razor/MbSoftLab.TemplateEngine.Core.Razor.csproj @@ -2,10 +2,10 @@ net8.0 - 1.1.0.0 - 1.1.0.0 - 1.1.0 - 1.1.0-preview + 1.1.1.0 + 1.1.1.0 + 1.1.1 + 1.1.1 Razor-enabled extension for MbSoftLab.TemplateEngine.Core providing RazorTemplateEngine. true true @@ -16,6 +16,7 @@ MIT © 2021 - 2025 MbSoftLab MbSoftLabLogo.png + README.md https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core Git @@ -32,6 +33,10 @@ True + + True + \ + diff --git a/MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj b/MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj index ea37988..1a02c66 100644 --- a/MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj +++ b/MbSoftLab.TemplateEngine.Core/MbSoftLab.TemplateEngine.Core.csproj @@ -2,10 +2,10 @@ net8.0 - 1.1.0.0 - 1.1.0.0 - 1.1.0 - 1.1.0-preview + 1.1.1.0 + 1.1.1.0 + 1.1.1 + 1.1.1 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. Documentation.xml true @@ -17,6 +17,7 @@ MIT © 2021 - 2025 MbSoftLab MbSoftLabLogo.png + README.md https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core https://github.com/mbsoftlab/MbSoftLab.TemplateEngine.Core @@ -28,6 +29,10 @@ True + + True + \ +