update the project to net8.0 (#497) #183
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
# Copyright (c) Microsoft Corporation. | |
# Licensed under the MIT License. | |
name: Publish Docs | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install pip | |
run: python3 -m pip install --upgrade pip setuptools wheel | |
- name: Install MkDocs | |
run: | | |
pip install mkdocs | |
pip install mkdocs-macros-plugin | |
- name: MkDocs build | |
run: mkdocs build | |
- name: MkDocs deploy | |
run: mkdocs gh-deploy --force |