From 92d0aac250c710ff41e243182b56b71aa845511c Mon Sep 17 00:00:00 2001 From: ardocrat Date: Tue, 22 Oct 2024 04:08:26 +0300 Subject: [PATCH] github: fix macos sdk unzip --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2041514..e34907e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -103,9 +103,9 @@ jobs: - name: Install cargo-zigbuild run: cargo install cargo-zigbuild - name: Download SDK - run: wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.15.sdk.tar.xz && tar -xzf MacOSX10.15.sdk.tar.xz + run: wget https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.15.sdk.tar.xz - name: Setup SDK env - run: echo "SDK_PATH=${{ github.workspace }}/MacOSX10.15.sdk" >> $GITHUB_ENV + run: tar xf ${{ github.workspace }}/MacOSX10.15.sdk.tar.xz && echo "SDK_PATH=${{ github.workspace }}/MacOSX10.15.sdk" >> $GITHUB_ENV - name: Release x86 run: | rustup target add x86_64-apple-darwin