File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ jobs:
112112 id : str1
113113 shell : bash
114114 run : |
115+ echo "date=$(date +%y-%m-%d)" >> "$GITHUB_OUTPUT"
115116 echo "date_time=$(date +%y-%m-%d_%H-%M-%S)" >> "$GITHUB_OUTPUT"
116117 echo "dir_path_prj=${{ github.workspace }}" >> "$GITHUB_OUTPUT" # full path
117118 echo "dir_name_build=build_${{ env.PRJ_NAME }}_${{ matrix.bp }}_${{ matrix.bt }}" >> "$GITHUB_OUTPUT"
@@ -177,8 +178,13 @@ jobs:
177178 id : cache_local
178179 uses : actions/cache@v4
179180 with :
180- path : " ${{ steps.str1.outputs.dir_cache_local }}"
181- key : ${{ runner.os }}-${{ hashFiles('.local/bin/*', '.local/lib/*') }}
181+ path : |
182+ "${{ steps.str1.outputs.dir_cache_local }}"
183+ "${{ steps.str1.outputs.dir_cache_local }}/bin/*"
184+ "${{ steps.str1.outputs.dir_cache_local }}/lib/*"
185+ "${{ steps.str1.outputs.dir_cache_local }}/lib/debug/*"
186+ key : ${{ runner.os }}_local_${{ steps.str1.outputs.date }}
187+ # #key : ${{ runner.os }}-${{ hashFiles('.local/bin/*', '.local/lib/*') }}
182188
183189 # # https://github.com/marketplace/actions/install-winget
184190 - name : get/install winget
You can’t perform that action at this time.
0 commit comments