Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DN8RC1 #1060

Merged
merged 71 commits into from
Sep 16, 2023
Merged

DN8RC1 #1060

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
4790712
Begin V5 preview
MarkStega Aug 11, 2023
a2e23a2
Added additional 'AllowCompilationErrors'
MarkStega Aug 11, 2023
fd9810e
Added 'AllowCompilationErrors' in DocFx.json (It was only added to Do…
MarkStega Aug 11, 2023
1771f01
Do builds if on M.B but not push event
MarkStega Aug 11, 2023
263edb6
Repair MD3 build only job
MarkStega Aug 11, 2023
00bb5cc
Remove old version of DocFx, Make certain that DocFx as a tool works …
MarkStega Aug 12, 2023
1bb5cc4
Really check that docfx as a tool runs...
MarkStega Aug 12, 2023
404c302
Properly setup docfx
MarkStega Aug 12, 2023
f275fb3
Test WiP publish
MarkStega Aug 12, 2023
969ee94
WiP #2
MarkStega Aug 12, 2023
5bdfbb2
WiP #3
MarkStega Aug 13, 2023
016a386
WiP #4
MarkStega Aug 13, 2023
69ac557
WiP #5
MarkStega Aug 13, 2023
03f0da3
WiP #6
MarkStega Aug 13, 2023
947ecf3
Add targetdramework back into csproj for M.B & M.B.MD3
MarkStega Aug 13, 2023
2d7785b
WiP #7
MarkStega Aug 13, 2023
89b342d
Update csproj for M.B & M.B.MD3
MarkStega Aug 13, 2023
16326c2
WiP #8
MarkStega Aug 13, 2023
fdbabbc
WiP #9
MarkStega Aug 13, 2023
9a1697b
WiP #10, Release #1
MarkStega Aug 13, 2023
7632da8
WiP #11
MarkStega Aug 13, 2023
7d41208
WiP #12
MarkStega Aug 13, 2023
7863db1
WiP #13
MarkStega Aug 13, 2023
c05d56e
WiP #14
MarkStega Aug 13, 2023
8b83162
WiP #15, restructure of articles
MarkStega Aug 14, 2023
6f0ba4b
New WiP using long line support
MarkStega Aug 15, 2023
f33e42f
Changed progress indicators to use parameters
MarkStega Aug 15, 2023
7a99a9a
Updated docs
MarkStega Aug 16, 2023
791155c
Update DemonstrationPages to use relative addresses where possible
MarkStega Aug 16, 2023
d41d098
Removed MD2 documentation pages
MarkStega Aug 16, 2023
ed7eed0
Use baseURI in demonstration pages
MarkStega Aug 16, 2023
b0937fb
Repair directories for MD3 documentation
MarkStega Aug 16, 2023
43eac74
Removed detail page from CircularProgressIndicator, added Icon articl…
MarkStega Aug 16, 2023
dec2f98
Change name of progress components
MarkStega Aug 16, 2023
7f42c91
Make M.B component names consistent with MD3 components (not the MD3 …
MarkStega Aug 16, 2023
fd7d558
Document parameters in the API, not the articles
MarkStega Aug 16, 2023
5a6549c
Repair reference to MD3 demo pages
MarkStega Aug 16, 2023
dcec731
blob -> tree in github repository navigation
MarkStega Aug 16, 2023
090e450
MOQ -> NSubstitute
MarkStega Aug 17, 2023
50069b6
Documentation updates
MarkStega Aug 17, 2023
214766f
More documentation updates
MarkStega Aug 17, 2023
58a677b
Update WIP to 5.0.0
MarkStega Aug 17, 2023
9589fdf
Get rid of extraneous DemoComponent parameter
MarkStega Aug 17, 2023
2ae2449
Added MD3 checkbox
MarkStega Aug 21, 2023
aa07be7
Add labels to MBSwitch
MarkStega Aug 21, 2023
986c594
Leading/trailing nomenclature for labels
MarkStega Aug 22, 2023
3a8a52d
Corrected MD3 server host.cshtml
MarkStega Aug 23, 2023
4208c4b
Revert to correct host file (momentary lapse in judgement)
MarkStega Aug 23, 2023
53c7d40
Add trace to WIP workflow
MarkStega Aug 23, 2023
80dc59b
More trace...
MarkStega Aug 23, 2023
2bf7948
More trace...
MarkStega Aug 23, 2023
032e5bd
Unix slashes
MarkStega Aug 23, 2023
d3edb1f
Repair -- missing brace
MarkStega Aug 23, 2023
362cb22
trace
MarkStega Aug 23, 2023
64c2473
More trace...
MarkStega Aug 23, 2023
1e0840f
Repair M.B.csproj & M.B.MD3.csproj
MarkStega Aug 23, 2023
88e8dfc
Remove most of trace in WIP
MarkStega Aug 24, 2023
4494816
2023-08-24 EoD
MarkStega Aug 24, 2023
7c1e6b4
Demo of multiple API documents, single MBTextField2
MarkStega Aug 28, 2023
618ae8a
Demo of MBDecimalField2
MarkStega Aug 29, 2023
2cd272a
2023-08-30 EoD
MarkStega Aug 30, 2023
85f9aaa
2023-03-31 EoD
MarkStega Aug 31, 2023
1ed1d8a
css
MarkStega Aug 31, 2023
46eeac3
2023-04-01 EoD
MarkStega Sep 1, 2023
7fc7c9e
2023-09-10 EoD
MarkStega Sep 10, 2023
ea92838
package.json -- Add old 'proposed' changes due to a dependency issue
MarkStega Sep 10, 2023
ebf4645
Checkbox, RadioButton, RadioButtonGroup, Switch
MarkStega Sep 11, 2023
a7322cb
2023-09-11 EoD
MarkStega Sep 11, 2023
9460669
Remove deprecated MD2 controls
MarkStega Sep 11, 2023
ab69d96
DN8RC1 & sub-optimal badge
MarkStega Sep 13, 2023
4ca43fd
RC1 release candidate (?RC RC1)
MarkStega Sep 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
130 changes: 95 additions & 35 deletions .github/workflows/GithubActionsRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# The publishing actions in forked repositories were handled by the WIP workflow
# An 'ExitWorkflow' action is sorely needed
############################################################################################################
# NUGET_API_KEY is valid through 9/11/2021
# NUGET_API_KEY is valid through 9/11/2022
############################################################################################################

on:
push:
tags:
- 4.** # Push events to matching pattern, i.e. 4.0.0, 4.1.0
- 5.** # Push events to matching pattern, i.e. 5.0.0, 5.1.0

env:
buildPlatform: 'Any CPU'
Expand Down Expand Up @@ -51,13 +51,12 @@ jobs:

steps:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Run the acceptance tests as the first build action and cancel out the rest if it fails
run: dotnet test ${{env.projectTest}} --configuration ${{env.buildConfiguration}}
Expand All @@ -70,19 +69,25 @@ jobs:

steps:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Get proper toc in place
run: copy tocMD2.yml toc.yml
- name: Setup docfx
run: |
copy Material.Blazor\docfx.json.MD2 docfx.json
copy Material.Blazor\index.md.MD2 index.md
copy Material.Blazor\toc.yml.MD2 toc.yml
dotnet tool update -g docfx

- name: Build Material.Blazor
run: dotnet build ${{env.projectMB}} --configuration ${{env.buildConfiguration}}

- name: Create documentation 🔧
run: .\docfx\docfx docfx.json
run: docfx docfx.json
env:
DOCFX_SOURCE_BRANCH_NAME: main

Expand All @@ -105,19 +110,21 @@ jobs:
shell: bash

- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Install WASM tools
run: dotnet workload restore

- name: Build and Publish Website 🔧
run: dotnet publish ${{env.projectWeb}} --configuration ${{env.buildConfiguration}} --output ${{env.outputWeb}} -p:Version=${{env.version}} -p:BlazorEnableCompression=false
run: >
dotnet publish ${{env.projectWeb}}
--configuration ${{env.buildConfiguration}}
--output ${{env.outputWeb}}
-p:Version=${{env.version}}
-p:BlazorEnableCompression=false
--framework net8.0

- name: Upload Website Artifacts 🔺 # The website is then uploaded as an artifact named 'siteWeb'.
uses: actions/upload-artifact@v3
Expand All @@ -136,13 +143,12 @@ jobs:

steps:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Download Artifacts 🔻 # The documentation is downloaded into the 'siteDocFx' folder.
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -183,22 +189,30 @@ jobs:
shell: bash

- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Build Material.Blazor & Generate the NuGet package 🔧
run: dotnet pack ${{env.projectMB}} --configuration ${{env.buildConfiguration}} --output ${{env.outputMB}} -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:Version=${{env.version}}
run: >
dotnet pack ${{env.projectMB}}
--configuration ${{env.buildConfiguration}}
--output ${{env.outputMB}}
-p:IncludeSymbols=true
-p:SymbolPackageFormat=snupkg
-p:Version=${{env.version}}

- name: Display MaterialBlazor package output Ꙫ
run: dir ${{env.outputMB}}

- name: Upload Package 🚀
run: dotnet nuget push ${{env.outputMB}}\*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json
run: >
dotnet nuget push ${{env.outputMB}}\*.nupkg
-k ${{secrets.NUGET_API_KEY}}
-s https://api.nuget.org/v3/index.json

############################################################################################################
# Create release
Expand Down Expand Up @@ -237,23 +251,24 @@ jobs:

steps:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Get proper toc in place
run: copy tocMD3.yml toc.yml
- name: Setup docfx
run: |
copy Material.Blazor.MD3\docfx.json.MD3 docfx.json
copy Material.Blazor.MD3\index.md.MD3 index.md
copy Material.Blazor.MD3\toc.yml.MD3 toc.yml
dotnet tool update -g docfx

- name: Create documentation 🔧
run: .\docfx\docfx docfxMD3.json
env:
DOCFX_SOURCE_BRANCH_NAME: main
- name: Build Material.Blazor
run: dotnet build ${{env.projectMBMD3}} --configuration ${{env.buildConfiguration}}

- name: Upload Documentation Artifacts 🔺 # The project is then uploaded as an artifact named 'siteDocFx'.
- name: Upload Documentation Artifacts 🔺
uses: actions/upload-artifact@v3
with:
name: siteDocFxMD3
Expand All @@ -273,16 +288,21 @@ jobs:
shell: bash

- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Build and Publish Website 🔧
run: dotnet publish ${{env.projectWebMD3}} --configuration ${{env.buildConfiguration}} --output ${{env.outputWebMD3}} -p:Version=${{env.version}} -p:BlazorEnableCompression=false
run: >
dotnet publish ${{env.projectWebMD3}}
--configuration ${{env.buildConfiguration}}
--output ${{env.outputWebMD3}}
-p:Version=${{env.version}}
-p:BlazorEnableCompression=false
--framework net8.0

- name: Upload Website Artifacts 🔺 # The website is then uploaded as an artifact named 'siteWeb'.
uses: actions/upload-artifact@v3
Expand All @@ -301,13 +321,12 @@ jobs:

steps:
- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
dotnet-quality: 'preview'

- name: Download Artifacts 🔻 # The built project is downloaded into the 'siteWeb' folder.
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -339,3 +358,44 @@ jobs:
branch: gh-pages
folder: 'deployroot'
repository-name: Material-Blazor/Material.Blazor.MD3

############################################################################################################
# Build package and deploy MD3
############################################################################################################
build-and-deploy-package-MD3:
name: Build nuget package & deploy to nuget
needs: [test, deployment-allowed-mb, deployghpages, deployghpages-MD3]

runs-on: windows-latest

steps:
- name: Get the version
run: echo "version=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
shell: bash

- name: Checkout repository under $GITHUB_WORKSPACE so the job can access it 🛎️
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'

- name: Build Material.Blazor.MD3 & Generate the NuGet package 🔧
run: >
dotnet pack ${{env.projectMBMD3}}
--configuration ${{env.buildConfiguration}}
--output ${{env.outputMBMD3}}
-p:IncludeSymbols=true
-p:SymbolPackageFormat=snupkg
-p:Version=${{env.version}}

- name: Display MaterialBlazor package output Ꙫ
run: dir ${{env.outputMBMD3}}

- name: Upload Package 🚀
run: >
dotnet nuget push ${{env.outputMBMD3}}\*.nupkg
-k ${{secrets.NUGET_API_KEY}}
-s https://api.nuget.org/v3/index.json

Loading