mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
mmalerba
parent
043eae18c4
commit
4acff50ee7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user