File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,8 +192,12 @@ workflows:
192192 # We'd really like to filter out pull requests here, but not yet available:
193193 # https://discuss.circleci.com/t/workflows-pull-request-filter/14396/4
194194 # Instead, the publish-build-artifacts.sh script just terminates when
195- # CIRCLE_PULL_REQUEST is set.
195+ # CIRCLE_PR_NUMBER is set.
196196 requires :
197+ # Only publish if tests pass
198+ - test
199+ # Get the artifacts to publish from the build-packages-dist job
200+ # since the publishing script expects the legacy outputs layout.
197201 - build-packages-dist
198202
199203 aio_monitoring :
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ if [ $# -gt 0 ]; then
126126elif [[ \
127127 " $CIRCLE_PROJECT_USERNAME " == " angular" && \
128128 " $CIRCLE_PROJECT_REPONAME " == " angular" && \
129- ! -v CIRCLE_PULL_REQUEST ]]; then
129+ ! -v CIRCLE_PR_NUMBER ]]; then
130130 ORG=" angular"
131131 # $KEY is set on CI only for non-PR builds. See /.circleci/README.md
132132 openssl aes-256-cbc -d -in .circleci/github_token -k " ${KEY} " -out " ${HOME} /.git_credentials"
You can’t perform that action at this time.
0 commit comments