File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Flatpak
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ workflow_dispatch :
9+
10+ jobs :
11+ build-flatpak :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+
17+ - name : Install Flatpak tooling
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y flatpak flatpak-builder
21+
22+ - name : Add Flathub remote
23+ run : |
24+ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
25+
26+ - name : Build Flatpak repository
27+ run : |
28+ flatpak-builder \
29+ --force-clean \
30+ --repo=repo \
31+ --install-deps-from=flathub \
32+ build-dir \
33+ io.github.archisman_panigrahi.wombat.json
34+
35+ - name : Create Flatpak bundle
36+ run : |
37+ flatpak build-bundle \
38+ repo \
39+ wombat.flatpak \
40+ io.github.archisman_panigrahi.wombat
41+
42+ - name : Upload Flatpak artifact
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : wombat-flatpak
46+ path : wombat.flatpak
47+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ flatpak install flathub org.gnome.Platform//47 org.gnome.Sdk//47 org.freedesktop
8686Build and install locally:
8787
8888``` bash
89- flatpak-builder --user --install --force-clean .flatpak-build io.github.archisman_panigrahi.wombat.Devel. json
89+ flatpak-builder --user --install --force-clean .flatpak-build io.github.archisman_panigrahi.wombat.json
9090```
9191
9292Run it:
You can’t perform that action at this time.
0 commit comments