2024-10-12 22:31:21 -07:00
|
|
|
name: Sanity check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Test Python file
|
|
|
|
runs-on: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
|
|
|
- name: Install dependencies
|
2024-10-12 22:56:44 -07:00
|
|
|
run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
|
|
- name: Generate DEB
|
2024-10-12 22:31:21 -07:00
|
|
|
run: |
|
2024-10-12 22:56:44 -07:00
|
|
|
python generate-deb.py
|
|
|
|
- uses: forgejo/upload-artifact@v4
|
2024-10-12 22:58:09 -07:00
|
|
|
with:
|
|
|
|
path: sweecrypt-gtk.deb
|