diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3cd0ec..ac87438 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,15 +34,18 @@ jobs: shell: bash steps: - uses: actions/checkout@v4 + - name: Setup + run: cargo install cargo-deb - name: Run tests run: cargo test --verbose - - run: make linux-package + - run: make linux-package linux-deb - name: Release if: ${{ github.event_name == 'release' && github.event.action == 'created' }} uses: softprops/action-gh-release@v2 with: files: | *linux.tar.gz + *amd65.deb windowsbuild: name: Create Windows Package runs-on: windows-latest diff --git a/Makefile b/Makefile index 2d4cbd3..be56060 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ linux-package: linux-binary-x86_64 .PHONY: linux-deb linux-deb: linux-binary-x86_64 - cargo deb --features unzip-osb --target=x86_64-unknown-linux-gnu --deb-version $(VERSION) + cargo deb --no-build --strip --target=x86_64-unknown-linux-gnu --output=. binary-all: win-binary-x86_64 linux-binary-x86_64