Skip to content

Commit

Permalink
CI: Build debian package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Apr 10, 2024
1 parent e5bd2a6 commit db167af
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,39 @@ 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
with:
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: ${{ github.workspace }}/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
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db167af

Please sign in to comment.