File tree 1 file changed +19
-0
lines changed
.github/actions/build_pandas
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 14
14
micromamba list
15
15
shell : bash -el {0}
16
16
17
+ - name : Make ccache-action key
18
+ id : ccache-action-key
19
+ run : |
20
+ key="${{ runner.os }}--${{ runner.arch }}--${{ github.workflow }}"
21
+ # Date: Daily invalidation of all ccaches as an extra safety measure.
22
+ key="$key--$(/bin/date -u '+%Y%m%d')"
23
+ # Python version: Separate caches for each Python version. This reduces the number of cache misses.
24
+ key="$key--$(python -V)"
25
+ # Cache version: Bump this number to manually invalidate the cache.
26
+ key="$key--0"
27
+
28
+ echo "key=$key" >> $GITHUB_OUTPUT
29
+ shell : bash
30
+ - name : Use sccache
31
+ uses :
hendrikmuhs/[email protected]
32
+ with :
33
+ variant : sccache
34
+ key : ${{ steps.ccache-action-key.outputs.key }}
35
+
17
36
- name : Build Pandas
18
37
run : |
19
38
if [[ ${{ inputs.editable }} == "true" ]]; then
You can’t perform that action at this time.
0 commit comments