File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,13 @@ jobs:
115115 run : |
116116 mkdir output
117117 mkdir pdb
118- - name : Fetch ccache
118+ - name : Get sccahce path
119+ run : echo ("SCCACHE_DIR=" + $env:LOCALAPPDATA + "\\Mozilla\\sccache\\cache") >> $env:GITHUB_ENV
120+ - name : Fetch sccache
119121 if : inputs.platform-files
120122 uses : actions/cache/restore@v4
121123 with :
122- path : C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache
124+ path : ${{ env.SCCACHE_DIR }}
123125 key : win-msvc-${{ inputs.cache-id }}-${{ github.sha }}
124126 restore-keys : |
125127 win-msvc-${{ inputs.cache-id }}
@@ -158,11 +160,11 @@ jobs:
158160 cd build
159161 sccache --show-stats
160162 sccache --zero-stats
161- - name : Save ccache
163+ - name : Save sccache
162164 if : inputs.platform-files && !inputs.cache-readonly
163165 uses : actions/cache/save@v4
164166 with :
165- path : C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache
167+ path : ${{ env.SCCACHE_DIR }}
166168 key : win-msvc-${{ inputs.cache-id }}-${{ github.sha }}
167169 - name : Format artifact name
168170 if : inputs.artifact-name
You can’t perform that action at this time.
0 commit comments