build: remove obsolete publish snapshots check (#14638)

* Since we now have proper branch filters for all CircleCI jobs, the logic that determines whether the "publish_snapshots" job should run, can be removed safely.
This commit is contained in:
Paul Gschwendtner
2019-01-03 00:48:38 +01:00
committed by mmalerba
parent 043eae18c4
commit 4acff50ee7
-7
View File
@@ -283,13 +283,6 @@ jobs:
publish_snapshots:
<<: *job_defaults
steps:
# Since CircleCI currently does not have any way to easily restrict jobs to only run
# for push builds, we need to manually skip publishing if the jobs runs for a PR.
# https://discuss.circleci.com/t/workflows-pull-request-filter/14396/11
- run:
name: Check whether this job should be skipped.
command: '[[ -n ${CIRCLE_PR_NUMBER} ]] && circleci step halt || true'
- *checkout_code
- *restore_cache
- *yarn_install