diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10bfcd5..00d5b77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,6 +108,11 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.92.0 echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}" + - name: Update xmake repositories + env: + XMAKE_GLOBALDIR: /data + run: xmake repo -u --root + - name: Build CrossDesk env: CUDA_PATH: /usr/local/cuda @@ -197,6 +202,9 @@ jobs: - name: Install xmake run: brew install xmake + - name: Update xmake repositories + run: xmake repo -u + - name: Checkout code uses: actions/checkout@v5 @@ -283,6 +291,7 @@ jobs: run: | Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content echo "C:\Users\runneradmin\xmake" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + xmake repo -u xmake create cuda Set-Location cuda xmake g --theme=plain