File tree Expand file tree Collapse file tree 4 files changed +7
-39
lines changed Expand file tree Collapse file tree 4 files changed +7
-39
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,14 @@ jobs:
13
13
uses : actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
14
14
with :
15
15
python-version : 3.x
16
-
17
- - name : Find pip cache dir
18
- id : pip-cache
19
- run : echo "::set-output name=dir::$(pip cache dir)"
20
-
21
- - name : pip cache
22
- uses : actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19
23
- with :
24
- # Use the os dependent pip cache directory found above
25
- path : ${{ steps.pip-cache.outputs.dir }}
26
- # A match with 'restore-keys' is used as fallback
27
- key : ${{ runner.os }}-pip-
16
+ cache : pip
28
17
29
18
- name : Clone
30
19
uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
31
20
32
21
- name : Build specification
33
22
run : |
34
- python -m pip install bikeshed
23
+ python -m pip install -r requirements.txt
35
24
mkdir build && cd build
36
25
make -f ../Makefile draft
37
26
Original file line number Diff line number Diff line change @@ -17,22 +17,11 @@ jobs:
17
17
uses : actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
18
18
with :
19
19
python-version : 3.x
20
-
21
- - name : Find pip cache dir
22
- id : pip-cache
23
- run : echo "::set-output name=dir::$(pip cache dir)"
24
-
25
- - name : pip cache
26
- uses : actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19
27
- with :
28
- # Use the os dependent pip cache directory found above
29
- path : ${{ steps.pip-cache.outputs.dir }}
30
- # A match with 'key' counts as cache hit
31
- key : ${{ runner.os }}-pip-
20
+ cache : pip
32
21
33
22
- name : Ensure changes build
34
23
run : |
35
- python -m pip install bikeshed
24
+ python -m pip install -r requirements.txt
36
25
mkdir build && cd build
37
26
make -f ../Makefile spec
38
27
Original file line number Diff line number Diff line change 13
13
uses : actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
14
14
with :
15
15
python-version : 3.x
16
-
17
- - name : Find pip cache dir
18
- id : pip-cache
19
- run : echo "::set-output name=dir::$(pip cache dir)"
20
-
21
- - name : pip cache
22
- uses : actions/cache@a7c34adf76222e77931dedbf4a45b2e4648ced19
23
- with :
24
- # Use the os dependent pip cache directory found above
25
- path : ${{ steps.pip-cache.outputs.dir }}
26
- # A match with 'key' counts as cache hit
27
- key : ${{ runner.os }}-pip-
16
+ cache : ' pip'
28
17
29
18
- name : Clone main
30
19
uses : actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
56
45
- name : Build specification
57
46
if : steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
58
47
run : |
59
- python -m pip install bikeshed
48
+ python -m pip install -r requirements.txt
60
49
mkdir build && cd build
61
50
make -f ../Makefile release
62
51
Original file line number Diff line number Diff line change
1
+ bikeshed
You can’t perform that action at this time.
0 commit comments