ci: Build flatpak automatically only on master and tagso
While allowing to build it manually in other cases
This commit is contained in:
parent
10c5bdade7
commit
fe967d0ac2
1 changed files with 15 additions and 1 deletions
|
@ -77,7 +77,7 @@ test_indent:
|
||||||
<<: *flatpak_script
|
<<: *flatpak_script
|
||||||
<<: *flatpak_artifacts
|
<<: *flatpak_artifacts
|
||||||
|
|
||||||
flatpak master:
|
.flatpak_master_template: &flatpak_master
|
||||||
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.32
|
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.32
|
||||||
stage: flatpack
|
stage: flatpack
|
||||||
variables:
|
variables:
|
||||||
|
@ -87,3 +87,17 @@ flatpak master:
|
||||||
FLATPAK_MODULE: "libfprint"
|
FLATPAK_MODULE: "libfprint"
|
||||||
DBUS_ID: "org.freedesktop.libfprint.Demo"
|
DBUS_ID: "org.freedesktop.libfprint.Demo"
|
||||||
<<: *flatpak
|
<<: *flatpak
|
||||||
|
|
||||||
|
flatpak-auto master:
|
||||||
|
<<: *flatpak_master
|
||||||
|
when: always
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- master
|
||||||
|
|
||||||
|
flatpak-manual master:
|
||||||
|
<<: *flatpak_master
|
||||||
|
when: manual
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
- master
|
||||||
|
|
Loading…
Reference in a new issue