Update performance.md to 0.26.0_20240913_release. #129
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: MKDocs build | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.7" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Build with mkdocs | |
run: | | |
mkdocs build 2> error.log | |
cat error.log | |
if grep -Fq "ERROR" error.log; then exit 1; fi | |
if [ ! -d site ]; then exit 1; fi | |
- id: get-date | |
name: Get date | |
uses: Kaven-Universe/[email protected] | |
with: | |
format: "YYYYMMDD_HH_mm_ss" | |
- name: Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
path: site | |
name: site-${{ steps.get-date.outputs.time }} |