summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-07-12 00:19:29 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-12 00:47:34 -0600
commit05c4e4877437e1648cfca7eba36f4f3eb63d6eff (patch)
treeed47df03bbbdaf4c9f354b2aede38a9fe7b7c0e4 /.github/workflows/ci.yml
parent27c2e9141871d2920ec711f03af509779f39fca7 (diff)
build dependents on success
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0d856f17..4ad08b4a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -101,8 +101,22 @@ jobs:
git diff
exit 1
fi
+ build-dependents:
+ name: build:dependents
+ if: success() && github.event_name == 'push' && github.repository == 'asciidoctor/asciidoctor'
+ needs: build
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Install Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '3.0'
+ # NOTE lock bundler version due to https://github.com/rubygems/rubygems/issues/4748
+ bundler: '2.2.22'
+ bundler-cache: true
- name: Build dependents
- if: matrix.primary && github.event_name == 'push' && github.repository == 'asciidoctor/asciidoctor'
env:
GITHUB_API_TOKEN: ${{ secrets._GITHUB_API_TOKEN }}
run: bundle exec rake build:dependents