From ba93b8118236669046697246facb99bf6d5b1d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Tavares?= Date: Mon, 13 Mar 2023 11:42:01 +0000 Subject: [PATCH] fix: do not run desktop prep build step on master (#18112) --- .circleci/config.yml | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 041756d40..9a9fdbdbe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,6 +55,9 @@ workflows: requires: - prep-deps - prep-build-desktop: + filters: + branches: + ignore: master requires: - prep-deps - prep-build-flask: @@ -137,6 +140,9 @@ workflows: requires: - trigger-beta-build - validate-source-maps-desktop: + filters: + branches: + ignore: master requires: - prep-build-desktop - validate-source-maps-flask: @@ -152,6 +158,9 @@ workflows: - prep-deps - trigger-beta-build - test-mozilla-lint-desktop: + filters: + branches: + ignore: master requires: - prep-deps - prep-build-desktop @@ -387,25 +396,9 @@ jobs: - checkout - attach_workspace: at: . - - when: - condition: - not: - matches: - pattern: /^master$/ - value: << pipeline.git.branch >> - steps: - - run: - name: build:dist - command: yarn build --build-type desktop dist - - when: - condition: - matches: - pattern: /^master$/ - value: << pipeline.git.branch >> - steps: - - run: - name: build:prod - command: yarn build --build-type desktop prod + - run: + name: build:dist + command: yarn build --build-type desktop dist - run: name: build:debug command: find dist/ -type f -exec md5sum {} \; | sort -k 2