26 lines
No EOL
646 B
YAML
26 lines
No EOL
646 B
YAML
name: Auto build
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
apt:
|
|
name: Build Debian Package
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
- name: Install dependencies for sweerepo
|
|
run: apt update && apt install curl sudo
|
|
- name: Setup sweerepo
|
|
run: curl -L https://swee.codes/repo.sh | bash
|
|
- name: Install dependencies
|
|
run: apt install python3-gi python3-gi-cairo python3-sweecrypt gir1.2-gtk-3.0 -y
|
|
- name: Generate DEB
|
|
run: |
|
|
python3 generate-deb.py
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
path: sweecrypt-gtk.deb |