Skip to content

Commit

Permalink
Build binary after running test
Browse files Browse the repository at this point in the history
  • Loading branch information
autarch committed Dec 22, 2024
1 parent ee3bc41 commit 31f6ad7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,22 @@ jobs:
toolchain: nightly
steps:
- uses: actions/checkout@v3
- name: Build binary
- name: Run tests
uses: houseabsolute/actions-rust-cross@v1
with:
command: "build"
command: "test"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
strip: true
- name: Run tests
if: ${{ !matrix.platform.skip_tests }}
- name: Build binary
uses: houseabsolute/actions-rust-cross@v1
with:
command: "test"
command: "build"
target: ${{ matrix.platform.target }}
toolchain: ${{ matrix.toolchain }}
args: "--locked --release"
if: ${{ !matrix.platform.skip_tests }}
strip: true
- name: Publish artifacts and release
uses: houseabsolute/actions-rust-release@v0
with:
Expand Down

0 comments on commit 31f6ad7

Please sign in to comment.