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