Skip to content

Commit

Permalink
chore(ci): package using the built ssh executable
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael DEMACON <[email protected]>
  • Loading branch information
quantumsheep committed Jun 30, 2024
1 parent 1a7662b commit 0434449
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,19 @@ jobs:
- name: Install toolchain
run: rustup toolchain install stable --profile minimal --target ${{ matrix.target.rust-target }} --no-self-update

- name: Install cross
run: cargo install cross --git https://github.com/cross-rs/cross
- name: Install cargo-deb
run: cargo install cargo-deb

- uses: Swatinem/rust-cache@v2

- name: Install cargo-deb
run: cargo install cargo-deb
- uses: robinraju/[email protected]
with:
tag: ${{ github.ref_name }}
fileName: sshs-linux-${{ matrix.target.arch }}
out-file-path: target/${{ matrix.target.rust-target }}/release

- name: Build deb package
run: cargo deb --target ${{ matrix.target.rust-target }} --output "target/${{ matrix.target.rust-target }}/debian/sshs-${{ matrix.target.arch }}.deb"
- name: Create Debian package
run: cargo deb --no-build --target ${{ matrix.target.rust-target }} --output "target/${{ matrix.target.rust-target }}/debian/sshs-${{ matrix.target.arch }}.deb"

- name: Set deb filename
id: set_filename
Expand Down

0 comments on commit 0434449

Please sign in to comment.