@@ -142,6 +142,8 @@ jobs:
142
142
run : echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
143
143
- name : Configure ccache action
144
144
uses :
hendrikmuhs/[email protected]
145
+ with :
146
+ save : ${{ github.event_name == 'push' }}
145
147
- name : Check Autoconf and aclocal versions
146
148
run : |
147
149
grep "Generated by GNU Autoconf 2.71" configure
@@ -284,6 +286,8 @@ jobs:
284
286
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
285
287
- name : Configure ccache action
286
288
uses :
hendrikmuhs/[email protected]
289
+ with :
290
+ save : ${{ github.event_name == 'push' }}
287
291
- name : Configure CPython
288
292
run : ./configure --config-cache --with-pydebug --with-openssl=$OPENSSL_DIR
289
293
- name : Build CPython
@@ -327,6 +331,8 @@ jobs:
327
331
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
328
332
- name : Configure ccache action
329
333
uses :
hendrikmuhs/[email protected]
334
+ with :
335
+ save : ${{ github.event_name == 'push' }}
330
336
- name : Setup directory envs for out-of-tree builds
331
337
run : |
332
338
echo "CPYTHON_RO_SRCDIR=$(realpath -m ${GITHUB_WORKSPACE}/../cpython-ro-srcdir)" >> $GITHUB_ENV
@@ -446,6 +452,8 @@ jobs:
446
452
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
447
453
- name : Configure ccache action
448
454
uses :
hendrikmuhs/[email protected]
455
+ with :
456
+ save : ${{ github.event_name == 'push' }}
449
457
- name : Configure CPython
450
458
run : ./configure --config-cache --with-address-sanitizer --without-pymalloc
451
459
- name : Build CPython
0 commit comments