Build .deb package
This commit is contained in:
parent
8fc590906a
commit
ac1f066f43
|
|
@ -0,0 +1,20 @@
|
||||||
|
on: workflow_dispatch
|
||||||
|
|
||||||
|
name: Build packages
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_deb:
|
||||||
|
name: Build .deb package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
profile: minimal
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
- run: cargo install cargo-deb
|
||||||
|
- run: cargo deb
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
path: target/debian/*.deb
|
||||||
|
|
@ -17,3 +17,11 @@ git2 = { version = "0.13", default-features = false }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
name = "git-mob"
|
||||||
|
revision = "1"
|
||||||
|
section = "vcs"
|
||||||
|
priority = "optional"
|
||||||
|
extended-description = """\
|
||||||
|
A set of git subcommands for including co-authors to your git commits."""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue