File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,24 @@ jobs:
108108 runs-on : ubuntu-latest
109109 timeout-minutes : 40
110110 steps :
111- - uses : actions/checkout@v4
111+ - name : ' Check out latest PR branch commit'
112+ uses : actions/checkout@v4
112113 with :
113114 persist-credentials : false
114- - uses : actions/cache@v4
115+ ref : >-
116+ ${{
117+ github.event_name == 'pull_request'
118+ && github.event.pull_request.head.sha
119+ || ''
120+ }}
121+ - name : ' Set up Python'
122+ uses : actions/setup-python@v5
115123 with :
116- path : ~/.cache/pip
117- key : ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
118- restore-keys : |
119- ubuntu-doc-
124+ python-version : ' 3'
125+ cache : ' pip'
126+ cache-dependency-path : ' Doc/requirements.txt'
120127 - name : ' Install build dependencies'
121- run : make -C Doc/ PYTHON=../python venv
128+ run : make -C Doc/ venv
122129 - name : ' Build and load EPUB checks to file'
123130 continue-on-error : true
124131 run : |
You can’t perform that action at this time.
0 commit comments