From f9019001ff2c13d85e9216721ac0e96973aab1d8 Mon Sep 17 00:00:00 2001 From: Masato Onodera Date: Wed, 26 Jun 2024 15:28:19 -1000 Subject: [PATCH] add setup-python to GitHub Actions --- .github/workflows/deploy_docs.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index c6ae375..ffe3153 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -12,8 +12,13 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + - name: Set-up Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install dependencies - run: pip install mkdocs "mkdocs-material[imaging]" + run: pip install -U mkdocs "mkdocs-material[imaging]" - name: Build and deploy documentation run: mkdocs build --site-dir ${{ vars.DOC_PATH }}