File tree Expand file tree Collapse file tree 1 file changed +19
-59
lines changed Expand file tree Collapse file tree 1 file changed +19
-59
lines changed Original file line number Diff line number Diff line change @@ -415,37 +415,6 @@ jobs:
415415 - run :
416416 name : Required Tests are Passing
417417 command : echo "Required Tests are Passing"
418- build :
419- executor : ruby
420- steps :
421- - checkout
422- - run :
423- name : Install Bundler specific version
424- command : |
425- gem install bundler --version "${BUNDLE_VERSION}" --force
426- - restore_cache :
427- keys :
428- - v1-bundle-{{ checksum "Gemfile.lock" }}-
429- - run :
430- name : Install Ruby Dependencies
431- command : |
432- bundle config set --local path 'vendor/bundle'
433- bundle config set --local frozen 'true'
434- bundle install --local --jobs=4 --retry=3
435- - save_cache :
436- key : v1-bundle-{{ checksum "Gemfile.lock" }}-
437- paths :
438- - vendor/bundle
439- - run :
440- name : Run Tests
441- command : bundle exec rake ci:specs
442- - store_test_results :
443- name : Store test results
444- path : tmp/test-results
445- - persist_to_workspace :
446- root : .
447- paths :
448- - vendor/bundle
449418
450419workflows :
451420 main :
@@ -495,46 +464,37 @@ workflows:
495464 - run_tests_ruby-ruby-3.2
496465 - run_tests_ruby-ruby-3.3
497466 - run_tests_ruby-ruby-3.4
467+ - gem/build :
468+ << : *pr_only
469+ executor : ruby
470+ name : gem-build
471+ requires :
472+ - required_tests_pass
473+ - pre-release-approval :
474+ << : *pr_only
475+ type : approval
476+ requires :
477+ - gem-build
478+ - gem/publish :
479+ << : *pr_only
480+ name : gem-publish
481+ to_rubygems : true
482+ pre_release : true
483+ requires :
484+ - pre-release-approval
485+ context : artifact_publishing
498486
499487 trunk :
500488 jobs :
501- - build :
502- << : *master_only
503489 - gem/build :
504490 << : *master_only
505491 executor : ruby
506492 name : gem-build
507493 requires :
508494 - build
509495
510- pull-requests :
511- jobs :
512- - build :
513- << : *pr_only
514- - gem/build :
515- << : *pr_only
516- executor : ruby
517- name : gem-build
518- requires :
519- - build
520- - pre-release-approval :
521- << : *pr_only
522- type : approval
523- requires :
524- - gem-build
525- - gem/publish :
526- << : *pr_only
527- name : gem-publish
528- to_rubygems : true
529- pre_release : true
530- requires :
531- - pre-release-approval
532- context : artifact_publishing
533-
534496 final-release :
535497 jobs :
536- - build :
537- << : *version_tags_only
538498 - gem/build :
539499 << : *version_tags_only
540500 executor : ruby
You can’t perform that action at this time.
0 commit comments