Skip to content

Commit

Permalink
attempted to fix binary creation in CI for cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mburridge96 committed Nov 21, 2024
1 parent 279288b commit abc30e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit abc30e3

Please sign in to comment.