Improved output for List<object?> #22
Workflow file for this run
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: Deploy Blazor WASM to GitHub Pages | |
on: | |
push: | |
tags: [1.0.*] | |
jobs: | |
deploy-to-github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
# Uses GitHub's checkout action to checkout code form the main branch | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
# Sets up .NET Core SDK 8.x | |
- name: Setup .NET Core SDK | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.x | |
include-prerelease: true | |
# Installs wasm-tools | |
- name: Install wasm-tools | |
run: dotnet workload install wasm-tools | |
# Publishes Blazor project to the release-folder | |
- name: Publish .NET Core Project | |
run: dotnet publish PanoramicData.NCalc101/PanoramicData.NCalc101.csproj -c Release -o release --nologo | |
# Copy index.html to 404.html to serve the same file when a file is not found | |
- name: copy index.html to 404.html | |
run: cp release/wwwroot/index.html release/wwwroot/404.html | |
# Add .nojekyll file to tell GitHub pages to not treat this as a Jekyll project. (Allow files and folders starting with an underscore) | |
- name: Add .nojekyll file | |
run: touch release/wwwroot/.nojekyll | |
# Deploy to GitHub pages | |
- name: Deploy wwwroot to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BASE_BRANCH: main # The branch the action should deploy from. | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: release/wwwroot | |
SINGLE_COMMIT: true |