Skip to content

Commit

Permalink
fix: win dir
Browse files Browse the repository at this point in the history
  • Loading branch information
xilosada committed Jun 10, 2024
1 parent 75f5426 commit 122553c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/desktop_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -63,12 +64,12 @@ 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 }}

- name: Upload binary
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*

0 comments on commit 122553c

Please sign in to comment.