From 265a88078199c4b952fbc442ffbe30df225133ba Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Thu, 28 Mar 2024 10:16:19 +0100 Subject: [PATCH 1/5] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f148a488..b0beba96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,8 +10,8 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: 3.x - uses: actions/cache@v2 From 6251f062d580e2ff02dee313a54f8d125efb1f8a Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Thu, 28 Mar 2024 10:18:55 +0100 Subject: [PATCH 2/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0beba96..05158abd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: key: ${{ github.ref }} path: .cache From f4089b3f0e40cece1680955cfa4bda254f2d0d77 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Thu, 28 Mar 2024 10:20:04 +0100 Subject: [PATCH 3/5] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05158abd..e1cd3d58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: ${{ github.ref }} path: .cache From e93659cc1ca907a8b966fce6014946f4e9b30b45 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Thu, 28 Mar 2024 10:25:05 +0100 Subject: [PATCH 4/5] Update ci.yml --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1cd3d58..31713649 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Configure Git Credentials + run: | + git config user.name github-actions[bot] + git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v5 with: python-version: 3.x + - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - uses: actions/cache@v4 with: - key: ${{ github.ref }} + key: mkdocs-material-${{ env.cache_id }} path: .cache - - run: pip install mkdocs-material + restore-keys: | + mkdocs-material- + - run: pip install mkdocs-material - run: pip install pillow cairosvg - run: pip install mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force From e088809a6823c69c5950197c6c4f62e4b2d18ec6 Mon Sep 17 00:00:00 2001 From: Bill Zimmerman Date: Thu, 28 Mar 2024 10:30:34 +0100 Subject: [PATCH 5/5] Update ci.yml --- .github/workflows/ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31713649..e1cd3d58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,21 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v5 with: python-version: 3.x - - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - uses: actions/cache@v4 with: - key: mkdocs-material-${{ env.cache_id }} + key: ${{ github.ref }} path: .cache - restore-keys: | - mkdocs-material- - - run: pip install mkdocs-material + - run: pip install mkdocs-material - run: pip install pillow cairosvg - run: pip install mkdocs-git-revision-date-localized-plugin - run: mkdocs gh-deploy --force