From 7f9173d67f14dd273f6366cfcbf3498e6a8b2f56 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 18 Aug 2021 14:43:54 +0300 Subject: [PATCH] =?UTF-8?q?[ci]=20Fix=20workflow=20so=20=E2=80=98publish-*?= =?UTF-8?q?=E2=80=99=20dependencies=20can=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a documented but bizarre quirk on Circle CI: in order for a job to run as a dependency of another job that has a filter it must also have at least one filter of its own, even if the filter is a noop. https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag --- .circleci/config.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 06b451ef6..6a0bc73e7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -156,7 +156,10 @@ workflows: build: jobs: - macos-aat-fonts - - distcheck + - distcheck: + filters: # must have filter or won't work as a dependency + tags: + only: /.*/ - publish-dist: requires: - distcheck @@ -169,8 +172,14 @@ workflows: - alpine #- archlinux - sanitizers - - crossbuild-win32 - - crossbuild-win64 + - crossbuild-win32: + filters: # must have filter or won't work as a dependency + tags: + only: /.*/ + - crossbuild-win64: + filters: # must have filter or won't work as a dependency + tags: + only: /.*/ - publish-win32: requires: - crossbuild-win32