From abc30e3448c4a2742446e9436b3098c9d1104177 Mon Sep 17 00:00:00 2001 From: Matt Burridge <81111055+mburridge96@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:40:31 +0000 Subject: [PATCH] attempted to fix binary creation in CI for cli --- .github/workflows/cli.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index ffdb926..c348523 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -46,17 +46,16 @@ jobs: - name: Build CLI tool run: | if [[ "${{ matrix.runs-on }}" == "macos-latest" ]]; then - cargo build --release --target=${{ matrix.rust_target }} + cd cli && cargo build --release --target=${{ matrix.rust_target }} else cargo install cross - cross build --release --target=${{ matrix.rust_target }} + cd cli && cross build --release --target=${{ matrix.rust_target }} fi mkdir -p dist/${{ matrix.platform }} # Package the binary - name: Package Binary run: | - cd rocraters BINARY=target/${{ matrix.rust_target }}/release/rocraters ARCHIVE=dist/${{ matrix.platform }}/rocraters-${{ matrix.rust_target }}.${{ matrix.archive }} if [[ "${{ matrix.archive }}" == "zip" ]]; then