Use Microsoft.Extensions.Logging
instead of printf
based logging infrastructure
#314
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
- name: Build | |
run: dotnet fsi build.fsx | |
- name: Upload documentation | |
if: github.ref == 'refs/heads/master' | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: ./output | |
deploy: | |
runs-on: ubuntu-latest | |
needs: ci | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |