From 266b874b2696c72381d3b84a0f9269fd1b24695c Mon Sep 17 00:00:00 2001 From: UjuiUjuMandan <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Fri, 10 Jan 2025 05:11:36 +0000 Subject: [PATCH] rename libhysteria2 cache key --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d68939e73..8eca82e4d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -132,7 +132,7 @@ jobs: uses: actions/cache/restore@v4 with: path: ${{ github.workspace }}/hysteria/libs - key: libhysteria2-${{ runner.os }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} + key: libhysteria2-${{ runner.os }}-${{ matrix.abi }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} - name: Setup Golang if: steps.cache-libhysteria2-restore.outputs.cache-hit != 'true' @@ -164,7 +164,7 @@ jobs: uses: actions/cache/save@v4 with: path: ${{ github.workspace }}/hysteria/libs - key: libhysteria2-${{ runner.os }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} + key: libhysteria2-${{ runner.os }}-${{ matrix.abi }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} - name: Copy libhysteria2 run: | @@ -273,7 +273,7 @@ jobs: uses: actions/cache/restore@v4 with: path: ${{ github.workspace }}/hysteria/libs - key: libhysteria2-${{ runner.os }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} + key: libhysteria2-${{ runner.os }}-universal-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} - name: Setup Golang if: steps.cache-libhysteria2-restore.outputs.cache-hit != 'true' @@ -299,7 +299,7 @@ jobs: uses: actions/cache/save@v4 with: path: ${{ github.workspace }}/hysteria/libs - key: libhysteria2-${{ runner.os }}-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} + key: libhysteria2-${{ runner.os }}-universal-${{ hashFiles('.git/modules/hysteria/HEAD') }}-${{ hashFiles('libhysteria2.sh') }} - name: Copy libhysteria2 run: |