Skip to content

Commit

Permalink
ci: improving filter
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFaucherre committed Nov 21, 2023
1 parent e027528 commit 216e313
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -654,33 +654,23 @@ workflows:
Undraft release:
jobs:
- Build Linux x86_64:
filters:
filters: &release-tag-filters
branches:
ignore: /.*/
tags:
only: /\d+\.\d+\.\d+/
- Build Linux arm64:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
- Build MacOS x86_64:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
- Build MacOS arm64:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
- Build Windows:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
- Copy JSON schema:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
- Upload artifacts:
filters:
tags:
only: /\d+\.\d+\.\d+/
filters: *release-tag-filters
requires:
- Build Linux x86_64
- Build Linux arm64
Expand Down

0 comments on commit 216e313

Please sign in to comment.