From 78455e69faf753304fc71f075de87f1e472d916d Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Mon, 24 Feb 2025 17:51:32 -0800 Subject: [PATCH] fix: update working-directory for SDK downloads and installations in CI workflow --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d7d89b6..74a70e21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -169,12 +169,14 @@ jobs: if: startsWith(matrix.build, 'cross-macos') || startsWith(matrix.build, 'cross-ios') run: sudo apt-get install llvm - name: Download macOS SDK + working-directory: ${{ runner.temp }} if: startsWith(matrix.build, 'cross-macos') run: | wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX11.3.sdk.tar.xz tar -xf MacOSX11.3.sdk.tar.xz echo "SDKROOT=$(pwd)/MacOSX11.3.sdk" >> $GITHUB_ENV - name: Download iOS SDK + working-directory: ${{ runner.temp }} if: startsWith(matrix.build, 'cross-ios') run: | wget https://github.com/xybp888/iOS-SDKs/releases/download/iOS18.1-SDKs/iPhoneOS18.1.sdk.zip @@ -283,7 +285,7 @@ jobs: echo "WASI_TOOLCHAIN_VERSION=$VERSION" >> "$GITHUB_ENV" - name: Install wasi-sdk - working-directory: /tmp + working-directory: ${{ runner.temp }} env: REPO: WebAssembly/wasi-sdk run: | @@ -316,6 +318,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install cuda-minimal-build-11-8 + working-directory: ${{ runner.temp }} shell: bash run: | # https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_network