diff options
author | sitkevij <1553398+sitkevij@users.noreply.github.com> | 2023-12-28 13:36:30 -0800 |
---|---|---|
committer | sitkevij <1553398+sitkevij@users.noreply.github.com> | 2023-12-28 13:36:30 -0800 |
commit | 28e4cb93aa424f021be0e4426097b35e30f89eca (patch) | |
tree | bc427a7a75db87adc229db3bc363f7498f44b844 /.github/workflows/release.yml | |
parent | 2a2dbdafaa352f545456f66973a5a277dd4d2657 (diff) |
ci: ga automated generation of debian build artifacts with README update
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9fa248c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: release +on: + push: + tags: + - "v*" # Push events to matching v*, i.e. v1.0, v20.15.10 + workflow_dispatch: + +jobs: + build: + runs-on: rust-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard. + cargo install cargo-deb + cargo deb + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: target/debian/*.deb # /hex/target/debian/hx_0.5.0-1_amd64.deb |