From dffa37a671785110ca295b78663622fa7540fd50 Mon Sep 17 00:00:00 2001 From: Leonardo Lazzaro Date: Tue, 4 Jun 2019 16:44:23 -0300 Subject: [PATCH] add only to binaries --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8579a3e82fd..61741b1e47e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -158,7 +158,9 @@ binary_files: - dist/faraday-client - dist/faraday-fplugin expire_in: 1 week - + only: + variables: + - $CI_COMMIT_REF_NAME =~ /^.*\/(dev|master)$/ macos_dmg: tags: @@ -188,7 +190,9 @@ macos_dmg: paths: - Faraday.dmg expire_in: 1 week - + only: + variables: + - $CI_COMMIT_REF_NAME =~ /^.*\/(dev|master)$/ # This is a test of future test case that will be scheduled i_do_nothing: