Skip to content

Commit

Permalink
Merge pull request #356 from dymaptic/feature/355-pro-templates
Browse files Browse the repository at this point in the history
Feature/355 pro templates
  • Loading branch information
TimPurdum authored Aug 10, 2024
2 parents 39c6203 + c7be8e3 commit 7e4398f
Show file tree
Hide file tree
Showing 160 changed files with 2 additions and 5,733 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/main-release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
./assetCopy.ps1
cd ../..
- name: Build Core
run: dotnet build ./src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj --no-restore /p:OptOutFromCoreEsBuild=true /p:GenerateDocs=false /p:UpdateTemplates=false -c Release
run: dotnet build ./src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj --no-restore /p:OptOutFromCoreEsBuild=true /p:GenerateDocs=false -c Release
- name: Install xmllint
shell: bash
run: |
Expand All @@ -58,8 +58,6 @@ jobs:
Write-Error "JS file does not exist"
Exit 1
}
- name: Build Templates
run: dotnet build ./templates/dymaptic.GeoBlazor.Templates.csproj -c Release
- name: Copy PR Release Notes
run: |
PR_DESCRIPTION=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
Expand All @@ -84,11 +82,6 @@ jobs:
with:
name: .core-nuget
path: ./src/dymaptic.GeoBlazor.Core/bin/Release/dymaptic.GeoBlazor.Core.*.nupkg
- name: Upload templates artifact
uses: actions/upload-artifact@v3
with:
name: .templates-nuget
path: ./templates/bin/Release/dymaptic.GeoBlazor.Templates.*.nupkg
nuget-push:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
Expand All @@ -99,15 +92,4 @@ jobs:
with:
name: .core-nuget
- name: Publish Core to Nuget
run: dotnet nuget push ./dymaptic.GeoBlazor.Core.*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
templates-nuget-push:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: .templates-nuget
- name: Publish Templates to Nuget
run: dotnet nuget push ./dymaptic.GeoBlazor.Templates.*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push ./dymaptic.GeoBlazor.Core.*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate
5 changes: 0 additions & 5 deletions src/dymaptic.GeoBlazor.Core/dymaptic.GeoBlazor.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@
<Exec Command="pwsh ./assetCopy.ps1" ContinueOnError="false" />
</Target>

<Target Name="Update Templates" AfterTargets="PreBuildEvent" Condition="$(Configuration) == 'RELEASE' AND $(TargetFrameworks.StartsWith($(TargetFramework))) AND '$(UpdateTemplates)' == 'true'">
<Message Importance="high" Text="Update Template Versions" />
<Exec Command="pwsh ./updateTemplates.ps1 $(CoreVersion)" ContinueOnError="false" />
</Target>

<Target Name="NPM Debug Build" AfterTargets="NPM Install" Condition="$(Configuration) == 'DEBUG' AND $(TargetFrameworks.StartsWith($(TargetFramework))) AND '$(OptOutFromCoreEsBuild)' != 'true'">
<!-- Runs asynchronously to speed up build during development -->
<Message Importance="high" Text="Launching Async NPM Build Script" />
Expand Down
25 changes: 0 additions & 25 deletions src/dymaptic.GeoBlazor.Core/updateTemplates.ps1

This file was deleted.

Binary file removed templates/Blazor-API-500px.png
Binary file not shown.
43 changes: 0 additions & 43 deletions templates/README.md

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions templates/content/dymaptic.GeoBlazor.Template.Maui/App.xaml

This file was deleted.

12 changes: 0 additions & 12 deletions templates/content/dymaptic.GeoBlazor.Template.Maui/App.xaml.cs

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions templates/content/dymaptic.GeoBlazor.Template.Maui/Main.razor

This file was deleted.

14 changes: 0 additions & 14 deletions templates/content/dymaptic.GeoBlazor.Template.Maui/MainPage.xaml

This file was deleted.

This file was deleted.

44 changes: 0 additions & 44 deletions templates/content/dymaptic.GeoBlazor.Template.Maui/MauiProgram.cs

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 7e4398f

Please sign in to comment.