Skip to content

Commit

Permalink
HACK: Clean cross build cache before building to avoid suspected issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FlareFlo committed Oct 9, 2023
1 parent 381234d commit dc0dd17
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ jobs:
version: latest

- name: Build linux
run: cargo build --release

# Because of https://github.com/cross-rs/cross/issues/724
run: cross clean | cargo build --release # Clean because of https://github.com/cross-rs/cross/issues/724

- name: Build windows
run: cross build --release --target x86_64-pc-windows-gnu
run: cross clean | cross build --release --target x86_64-pc-windows-gnu # Clean because of https://github.com/cross-rs/cross/issues/724

- name: Rename windows bin
run: mv target/x86_64-pc-windows-gnu/release/wt_ext_cli.exe target/x86_64-pc-windows-gnu/release/wt_ext_cli-windows-x86.exe
Expand All @@ -40,4 +38,5 @@ jobs:
files: |
target/release/wt_ext_cli
target/x86_64-pc-windows-gnu/release/wt_ext_cli-windows-x86.exe
usage_manual.md
LICENSE

0 comments on commit dc0dd17

Please sign in to comment.