Skip to content

Commit

Permalink
Add cargo deb to github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Amjad Alsharafi <[email protected]>
  • Loading branch information
Amjad50 committed Oct 27, 2024
1 parent 318606b commit 9891dfa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- uses: cargo-bins/cargo-binstall@main

- name: Install cargo-deb
run: cargo binstall cargo-deb

- name: Use sccache-cache
uses: mozilla-actions/[email protected]

Expand Down Expand Up @@ -63,6 +68,12 @@ jobs:
files: lcov.info
fail_ci_if_error: true

- name: Create Debian package
run: cargo deb
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

windows:
runs-on: windows-latest

Expand Down

0 comments on commit 9891dfa

Please sign in to comment.