Skip to content

Commit 674760a

Browse files
committed
Just a little refresh on CI workflows
1 parent 7ae36d2 commit 674760a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
paths:
1010
- "docs/**"
1111
- "*.md"
12-
tags: "*"
12+
tags:
13+
- "*"
1314

1415
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1516
jobs:
@@ -28,14 +29,15 @@ jobs:
2829
- name: Set up Python
2930
uses: actions/setup-python@v4
3031
with:
31-
python-version: "3.9"
32+
python-version: "3.10"
3233
cache: "pip"
34+
cache-dependency-path: "requirements/documentation.txt"
3335

3436
- name: Install dependencies
3537
run: |
3638
python -m pip install --upgrade pip
37-
python -m pip install -U -r requirements.txt
38-
python -m pip install -U -r requirements/documentation.txt
39+
python -m pip install --upgrade -r requirements.txt
40+
python -m pip install --upgrade -r requirements/documentation.txt
3941
python -m pip install --upgrade ghp-import
4042
4143
- name: Build static website

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ jobs:
2020
with:
2121
python-version: "3.x"
2222
cache: "pip"
23+
cache-dependency-path: "requirements/base.txt"
2324

2425
- name: Install dependencies
2526
run: |
2627
python -m pip install --upgrade pip
28+
python -m pip install --upgrade -r requirements.txt
2729
python -m pip install --upgrade twine
28-
python -m pip install -r requirements.txt
2930
3031
- name: Build and publish
3132
env:

0 commit comments

Comments
 (0)