Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix(build): force the use of `cross` when building on linux

Elijah Potter72cfd8b8f127
diff --git a/.github/workflows/build_harper_binaries.yml b/.github/workflows/build_harper_binaries.yml
index 121a80f66..98d82dde3 100644
--- a/.github/workflows/build_harper_binaries.yml
+++ b/.github/workflows/build_harper_binaries.yml
@@ -95,7 +95,7 @@ jobs:
command: ${{ matrix.platform.command }}
target: ${{ matrix.platform.target }}
args: "--locked --release --bin ${{ matrix.platform.project }}"
- strip: true
+ force-use-cross: true
- name: Package as archive
shell: bash
run: |
diff --git a/.github/workflows/package_vscode_plugin.yml b/.github/workflows/package_vscode_plugin.yml
index 7bcd02565..1b7e1560e 100644
--- a/.github/workflows/package_vscode_plugin.yml
+++ b/.github/workflows/package_vscode_plugin.yml
@@ -40,7 +40,7 @@ jobs:
with:
target: ${{ matrix.platform.rust_target }}
args: "--locked --release --bin harper-ls"
- strip: true
+ force-use-cross: true
- name: Package extension
shell: bash
run: |
diff --git a/.github/workflows/release_harper_binaries.yml b/.github/workflows/release_harper_binaries.yml
index 6143c2533..0fc466e70 100644
--- a/.github/workflows/release_harper_binaries.yml
+++ b/.github/workflows/release_harper_binaries.yml
@@ -94,7 +94,7 @@ jobs:
command: ${{ matrix.platform.command }}
target: ${{ matrix.platform.target }}
args: "--locked --release --bin ${{ matrix.platform.project }}"
- strip: true
+ force-use-cross: true
- name: Package as archive
shell: bash
run: |
diff --git a/.github/workflows/release_vscode_plugin.yml b/.github/workflows/release_vscode_plugin.yml
index 557c3b62d..be2ecdc52 100644
--- a/.github/workflows/release_vscode_plugin.yml
+++ b/.github/workflows/release_vscode_plugin.yml
@@ -39,7 +39,7 @@ jobs:
with:
target: ${{ matrix.platform.rust_target }}
args: "--locked --release --bin harper-ls"
- strip: true
+ force-use-cross: true
- name: Package extension
id: package_extension
shell: bash