From bd006a9242c3d291656a8cb8d8ad584386f11d3d Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 10 Apr 2024 22:56:59 +0100 Subject: [PATCH] CI: Build debian package. --- .github/workflows/build.yml | 22 +++++++++++++++++++--- .github/workflows/qa.yml | 2 +- tox.ini | 2 +- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddee38e..2130b30 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + path: rpipins - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v3 @@ -27,15 +29,29 @@ jobs: python-version: ${{ matrix.python }} - name: Install Dependencies + working-directory: rpipins run: | make dev-deps - name: Build Packages + working-directory: rpipins run: | make dist - name: Upload Packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.RELEASE_FILE }} - path: dist/ + path: rpipins/dist/ + + - name: Build Debian Package + working-directory: rpipins + run: | + make deb-deps + make deb + + - name: Upload Debian Package + uses: actions/upload-artifact@v4 + with: + name: ${{ env.RELEASE_FILE }} (deb) + path: ${{ github.workspace }}/*.deb diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 18305d2..0a6f9ba 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python '3,11' uses: actions/setup-python@v3 diff --git a/tox.ini b/tox.ini index 090fdb0..44ab1a1 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ commands = python -m build --no-isolation python -m twine check dist/* isort --check . - ruff --format=github . + ruff check --output-format=github . codespell . deps = check-manifest