diff --git a/.github/workflows/desktop_artifacts.yml b/.github/workflows/desktop_artifacts.yml index 77c7857d8..19b7260d2 100644 --- a/.github/workflows/desktop_artifacts.yml +++ b/.github/workflows/desktop_artifacts.yml @@ -43,7 +43,8 @@ jobs: sudo apt-get install -y mingw-w64 sudo apt-get install -y wine wget https://github.com/Jake-Shadle/xwin/releases/download/0.6.0/xwin-0.6.0-x86_64-pc-windows-msvc.tar.gz - tar -xzf xwin-0.6.0-x86_64-pc-windows-msvc.tar.gz -C /usr/local + mkdir -p $HOME/xwin + tar -xzf xwin-0.6.0-x86_64-pc-windows-msvc.tar.gz -C $HOME/xwin - name: Cache cargo registry uses: actions/cache@v3 @@ -63,7 +64,7 @@ jobs: - name: Build the crate env: - CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: x86_64-w64-mingw32-gcc + CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: $HOME/xwin/xwin-0.6.0-x86_64-pc-windows-msvc/xwin.exe CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUNNER: wine run: cargo build -p calimero-node --release --target ${{ matrix.target }} @@ -71,4 +72,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: calimero-node_${{ matrix.target }} - path: target/${{ matrix.target }}/release/calimero-node* + path: target/${{ matrix.target }}/release/calimero-node* \ No newline at end of file