notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 12743b446932bbc67e0d81e6345cbfb7e3bc6e6e
parent 18eba128f62dbdbbb873b3ed5d3fc955664054c9
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 27 Nov 2024 09:08:05 -0800

Merge Add debian packaging #483

Fixes: https://github.com/damus-io/notedeck/issues/463

Ken Sedgwick (2):
      Add debian packaging
      update to github v4 artifact actions

Diffstat:
M.github/workflows/rust.yml | 30+++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml @@ -104,30 +104,38 @@ jobs: # - name: Build # run: ./trunk build - rpm: - name: Build RPM + packages: + name: Build Packages runs-on: ubuntu-latest steps: - - name: Checkout code + - name: Checkout Code uses: actions/checkout@v2 - - name: Install RPM Build Tools + - name: Install Packaging Tools run: | sudo apt-get update sudo apt-get install -y rpm binutils - cargo install cargo-generate-rpm + cargo install cargo-generate-rpm cargo-deb - - name: Build Rust Project + - name: Build Project run: cargo build --release - name: Strip Debug Symbols - run: strip target/release/notedeck + run: strip target/release/notedeck || echo "Skipping strip if not applicable" - - name: Build RPM - run: cargo generate-rpm + - name: Build Packages + run: | + cargo generate-rpm + cargo deb - - name: Upload RPM Artifact - uses: actions/upload-artifact@v3 + - name: Upload RPM Package + uses: actions/upload-artifact@v4 with: name: notedeck-rpm path: target/generate-rpm/*.rpm + + - name: Upload Debian Package + uses: actions/upload-artifact@v4 + with: + name: notedeck-deb + path: target/debian/*.deb