Update .forgejo/workflows/build.yml
This commit is contained in:
parent
3e9950c3ca
commit
bf77881cbe
1 changed files with 18 additions and 3 deletions
|
@ -5,8 +5,8 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
apt:
|
||||||
name: Test Python file
|
name: Build Debian Package
|
||||||
runs-on: debian-latest
|
runs-on: debian-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -20,3 +20,18 @@ jobs:
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: sweecrypt-gtk.deb
|
path: sweecrypt-gtk.deb
|
||||||
|
flatpak:
|
||||||
|
name: Build Flatpak Package
|
||||||
|
runs-on: debian-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-python@v5
|
||||||
|
- name: Install dependencies
|
||||||
|
run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||||
|
- name: Generate DEB
|
||||||
|
run: |
|
||||||
|
python generate-flatpak.py
|
||||||
|
- uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
path: flatpak/
|
Loading…
Reference in a new issue