diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index 135c4160c..58e8dd4cd 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -59,7 +59,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages - key: Linux-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-r4 + key: Linux-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-$(date +'%w') # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 96dec4d70..a5e41bfde 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -53,7 +53,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages - key: macOS-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-r4 + key: macOS-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-$(date +'%w') # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies diff --git a/.github/workflows/msys2-build.yml b/.github/workflows/msys2-build.yml index e1dbe0bf9..6a8b1e59d 100644 --- a/.github/workflows/msys2-build.yml +++ b/.github/workflows/msys2-build.yml @@ -51,7 +51,7 @@ jobs: id: xmake_cache with: path: ${{ github.workspace }}/xmake_git - key: MinGW-XMake-r2 + key: MinGW-XMake-$(date +'%w') # Build xmake - name: Setup xmake @@ -82,7 +82,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages - key: MinGW-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-r4 + key: MinGW-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-$(date +'%w') # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index dd87a1aa4..03eafd201 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -53,7 +53,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.XMAKE_GLOBALDIR }}\.xmake\packages - key: MSVC-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-r4 + key: MSVC-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}-$(date +'%w') # Setup compilation mode and install project dependencies - name: Configure xmake and install dependencies