diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c41615c..887623c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -115,7 +115,7 @@ jobs: uses: actions/cache@v5 with: path: ~/.xmake/packages - key: ${{ runner.os }}-xmake-deps-${{ matrix.cache-key }}-${{ github.sha }} + key: "${{ runner.os }}-xmake-deps-${{ matrix.cache-key }}-${{ github.run_id }}" restore-keys: | ${{ runner.os }}-xmake-deps-${{ matrix.cache-key }}- @@ -172,7 +172,7 @@ jobs: uses: actions/cache@v5 with: path: D:\xmake_global\.xmake\packages - key: ${{ runner.os }}-xmake-deps-intel-${{ github.sha }} + key: "${{ runner.os }}-xmake-deps-intel-${{ github.run_id }}" restore-keys: | ${{ runner.os }}-xmake-deps-intel-