CI: Fix xmake deadlock

This commit is contained in:
Jérôme Leclercq
2021-05-08 10:35:20 +02:00
parent df31666d0e
commit e7fb28df7c
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ jobs:
# Force xmake to a specific folder (for cache)
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=$(pwd)/xmake-global" >> $GITHUB_ENV
run: echo "XMAKE_GLOBALDIR=$(pwd)/../xmake-global" >> $GITHUB_ENV
# Install xmake
- name: Setup xmake
@@ -59,7 +59,7 @@ jobs:
- name: Retrieve cached xmake dependencies
uses: actions/cache@v2
with:
path: xmake-global/.xmake/packages
path: ${{ env.XMAKE_GLOBALDIR }}/.xmake/packages
key: ${{ runner.os }}-${{ matrix.arch }}-${{ matrix.mode }}-${{ steps.dep_hash.outputs.hash }}
# Setup compilation mode and install project dependencies