Skip to content

Commit

Permalink
πŸ• Update build ci
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Fitz Abucay <[email protected]>
  • Loading branch information
ffimnsr committed Sep 5, 2024
1 parent 1a243d7 commit 2436051
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-push-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
- name: Use cross compiler
if: matrix.os == 'ubuntu-latest'
shell: bash
run: |
cargo install cross
Expand Down Expand Up @@ -210,12 +211,8 @@ jobs:
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: Build release binary
run: ${{ env.CARGO }} build --verbose --release --target ${{ env.TARGET }} ${{ env.TARGET_FLAGS }}
- name: Strip release binary
run: |
strip "target/${{ env.TARGET }}/release/midas"
strip "target/${{ env.TARGET }}/release/cargo-migrate"
- name: Build deb package
run: ${{ env.CARGO }} deb --release --target ${{ env.TARGET }}
run: ${{ env.CARGO }} deb --target ${{ env.TARGET }}
- name: Build archive
shell: bash
run: |
Expand Down

0 comments on commit 2436051

Please sign in to comment.