File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,20 +8,17 @@ inputs:
88runs :
99 using : " composite"
1010 steps :
11- - name : Prepare compiler cache
12- id : prep-ccache
11+ - name : Prepare compiler cache
1312 shell : bash
1413 run : |
1514 mkdir -p "${CCACHE_DIR}"
16- echo "dir=$CCACHE_DIR" >> $GITHUB_OUTPUT
17- NOW=$(date -u +"%F-%T")
18- echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
15+ echo "CCACHE_TIMESTAMP=$(date -u +"%F-%T")" >> $GITHUB_ENV
1916 - name : Setup compiler cache
2017 uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
2118 id : cache-ccache
2219 with :
23- path : ${{ steps.prep-ccache.outputs.dir }}
24- key : ccache-v0-${{ inputs.key_segment }}-${{ steps.prep-ccache.outputs.timestamp }}
20+ path : ${{ env.CCACHE_DIR }}
21+ key : ccache-v0-${{ inputs.key_segment }}-${{ env.CCACHE_TIMESTAMP }}
2522 restore-keys : ccache-v0-${{ inputs.key_segment }}
2623 - name : Install Pixi
2724 uses : prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0
You can’t perform that action at this time.
0 commit comments