Set RUNNER_HOST_NAME
@@ -24,6 +24,7 @@ jobs:
echo ZKSYNC_HOME=$(pwd) >> $GITHUB_ENV
echo CI=1 >> $GITHUB_ENV
echo $(pwd)/bin >> $GITHUB_PATH
+ RUNNER_HOST_NAME=$(hostname)
- name: cache-contracts
uses: actions/cache@v2
@@ -41,7 +42,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: ${{ runner.os }}-{{ runner.name }}-cargo-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ runner.os }}-${{ env.RUNNER_HOST_NAME }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: update-deps
run: |
