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
- .fdo.distribution-image@fedora
stage: extras
only:
- flatpak
- tags
variables:
RUSTDOCFLAGS: "-Dwarnings"
script:
@ -86,7 +89,7 @@ rustdoc:
flatpak:
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:41"
stage: test
stage: extras
only:
- flatpak
- tags