Support Downcast on the Monadic Types (Option, Either, Result) #1449
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: Build and Deploy Website | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ main ] | |
# The website displays the latest version and needs | |
# to be rebuilt when a new version is published. | |
tags: '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
name: Install Current .NET SDK | |
- name: Setup mdBook | |
uses: peaceiris/actions-mdbook@v2 | |
with: | |
mdbook-version: '0.4.2' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- run: yarn install | |
working-directory: ./Documentation | |
- name: Build Marble Graphics | |
run: yarn build-marble-graphics | |
working-directory: ./Documentation | |
- name: Build Website and Documentation | |
run: dotnet fsi Website/build.fsx | |
- name: Upload GitHub Pages Artifact | |
uses: actions/upload-pages-artifact@v3 | |
deploy_pages: | |
needs: build | |
if: github.ref_type == 'tag' || github.ref_name == 'main' | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |