git-mob/.github/workflows/build_deb.yml

20 lines
442 B
YAML

on: workflow_dispatch
name: Build packages
jobs:
build_deb:
name: Build .deb package
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C strip=debuginfo"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo install cargo-deb
- run: cargo build --release
- run: cargo deb
- uses: actions/upload-artifact@v3
with:
path: target/debian/*.deb