Update .forgejo/workflows/build.yml
Some checks failed
Auto build / Build Debian Package (push) Has been cancelled
Some checks failed
Auto build / Build Debian Package (push) Has been cancelled
This commit is contained in:
parent
da799996ed
commit
39a9c20bf1
1 changed files with 1 additions and 25 deletions
|
@ -21,28 +21,4 @@ jobs:
|
||||||
python3 generate-deb.py
|
python3 generate-deb.py
|
||||||
- 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: docker
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
- name: Install flatpak
|
|
||||||
run: apt update && apt install flatpak flatpak-builder -y
|
|
||||||
- name: Setup flathub
|
|
||||||
run: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
|
||||||
- name: Install org.gnome.Sdk
|
|
||||||
run: flatpak -y install flathub org.gnome.Sdk//47
|
|
||||||
- name: Install org.gnome.Platform
|
|
||||||
run: flatpak -y install flathub org.gnome.Platform//47
|
|
||||||
- name: Generate file for use in flatpak
|
|
||||||
run: python generate-flatpak.py
|
|
||||||
- name: Build flatpak package
|
|
||||||
run: flatpak-builder --repo=flatrepo --disable-rofiles-fuse flatpak codes.swee.SweeCryptGTK.json
|
|
||||||
- name: Package the directory
|
|
||||||
run: tar -cvf flatpak.tar flatpak flatrepo
|
|
||||||
- uses: actions/upload-artifact@v3
|
|
||||||
with:
|
|
||||||
path: flatpak.tar
|
|
Loading…
Add table
Reference in a new issue