diff options
| -rw-r--r-- | .github/workflows/windows.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 9672fc47e..1516a5984 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,6 +35,17 @@ jobs: - uses: little-core-labs/[email protected] id: tagName + # Force xmake to a specific folder (for cache) + - name: Set xmake package cache path + run: echo "XMAKE_PKG_CACHEDIR=$(pwd)/xmake-cache" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + + # Cache xmake dependencies + - name: Retrieve xmake cache for packages + uses: actions/cache@v2 + with: + path: xmake-cache + key: ${{ matrix.os }}-${{ matrix.arch }} + - name: Prepare run: | xmake show |
