ci: rustdoc should be run only on release

This commit is contained in:
Stéphane Cerveau 2022-02-07 11:59:37 +01:00
parent e3ac490a81
commit da6159e7f0

View file

@ -77,6 +77,9 @@ rustdoc:
- .fedora - .fedora
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora
stage: extras stage: extras
only:
- flatpak
- tags
variables: variables:
RUSTDOCFLAGS: "-Dwarnings" RUSTDOCFLAGS: "-Dwarnings"
script: script:
@ -86,7 +89,7 @@ rustdoc:
flatpak: flatpak:
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41" image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
stage: test stage: extras
only: only:
- flatpak - flatpak
- tags - tags