From 3fcfa79b90fe22658fddab263268db9098666d76 Mon Sep 17 00:00:00 2001 From: monlor Date: Thu, 28 May 2020 13:26:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0github=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30d601e..5433a52 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: uses: actions/cache@v2 with: path: mbfiles - key: ${BRANCH_NAME}-coding + key: ${BRANCH_NAME}-${{ hashFiles('**/lockfiles') }} - name: Deploy To Coding run: | test ! -d mbfiles && git clone -b `basename ${BRANCH_NAME}` ${CO_REF} @@ -48,7 +48,7 @@ jobs: uses: actions/cache@v2 with: path: mbfiles - key: ${BRANCH_NAME}-github + key: ${BRANCH_NAME}-${{ hashFiles('**/lockfiles') }} - name: Deploy To GitHub run: | test ! -d mbfiles && git clone -b `basename ${BRANCH_NAME}` ${GH_REF}