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 : Build
1+ name : CI
22
33on :
44 push :
55 branches : [master]
6+ tags : ['*']
67 pull_request :
78 branches : [master]
89
10+ permissions :
11+ contents : write
12+
913jobs :
1014 build :
1115 runs-on : ubuntu-24.04
@@ -55,16 +59,16 @@ jobs:
5559 - name : Package .deb
5660 run : make deb
5761
58- - name : Upload .deb artifacts
62+ - name : Upload .deb artifact
5963 uses : actions/upload-artifact@v7
6064 with :
61- name : deltachat-gnome-ubuntu-24.04
65+ name : deltachat-gnome-deb
6266 path : dist/debian/deltachat-gnome/*.deb
6367
6468 build-flatpak :
6569 runs-on : ubuntu-24.04
6670 container :
67- image : bilelmoussaoui/ flatpak-github-actions:gnome-47
71+ image : ghcr.io/flathub-infra/ flatpak-github-actions:gnome-48
6872 options : --privileged
6973 steps :
7074 - uses : actions/checkout@v6
7377 with :
7478 manifest-path : dist/flatpak/org.deltachat.Gnome.json
7579 bundle : deltachat-gnome.flatpak
80+ cache-key : flatpak-builder-${{ hashFiles('dist/flatpak/org.deltachat.Gnome.json') }}
7681
77- - name : Upload .flatpak artifact
78- uses : actions/upload-artifact@v7
82+ release :
83+ if : startsWith(github.ref, 'refs/tags/')
84+ needs : [build-deb, build-flatpak]
85+ runs-on : ubuntu-24.04
86+ steps :
87+ - name : Download artifacts
88+ uses : actions/download-artifact@v7
89+ with :
90+ path : artifacts
91+ merge-multiple : true
92+
93+ - name : Publish release
94+ uses : softprops/action-gh-release@v2
7995 with :
80- name : deltachat-gnome-flatpak
81- path : deltachat-gnome.flatpak
96+ files : |
97+ artifacts/**/*.deb
98+ artifacts/**/*.flatpak
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "id" : " org.deltachat.Gnome" ,
33 "runtime" : " org.gnome.Platform" ,
4- "runtime-version" : " 47 " ,
4+ "runtime-version" : " 48 " ,
55 "sdk" : " org.gnome.Sdk" ,
66 "command" : " deltachat-gnome" ,
77 "finish-args" : [
Original file line number Diff line number Diff line change 77 dependency (' glib-2.0' ),
88 dependency (' gio-2.0' ),
99 dependency (' gtk4' ),
10- dependency (' libadwaita-1' , version : ' >= 1.0 ' ),
10+ dependency (' libadwaita-1' , version : ' >= 1.5 ' ),
1111 dependency (' json-glib-1.0' ),
1212]
1313
You can’t perform that action at this time.
0 commit comments