I have a project that is trying to run a specific step ONLY for git tag pushes, not regular commits. According to the docs, it sounds like the following should work:
workflows:
version: 2
install-and-test:
jobs:
- test
- build_optuna:
filters:
tags:
only: /^.+v[0-9]+$/
e.g. the test
job will run for every commit, while the build_optuna
job will only run for tags ending with “v###”. However, the build_optuna
job is seemingly being run on every single push, and not being run for git tag builds as expected.
Any suggestions?