Updated Web Material JS to v1.4.1 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build WASM Page | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
deploy-to-github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.0.0 | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@v3.2.0 | |
with: | |
dotnet-version: 7.x | |
- name: Install .NET WASM Build Tools | |
run: dotnet workload install wasm-tools | |
- name: Publish .NET project | |
run: dotnet publish BlazorMaterialWeb.Demo/BlazorMaterialWeb.Demo.csproj -c:Release -p:GHPages=true -o dist/Web --nologo | |
- name: Make 404 page for SPA | |
run: cp dist/Web/wwwroot/index.html dist/Web/wwwroot/404.html | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4.4.3 | |
with: | |
folder: dist/Web/wwwroot |