|
7 | 7 | runs-on: ubuntu-latest
|
8 | 8 | name: Jekyll Build
|
9 | 9 | steps:
|
10 |
| - - uses: actions/checkout@v4 |
11 |
| - - uses: ruby/setup-ruby@v1 |
12 |
| - with: |
13 |
| - ruby-version: 3.2 |
14 |
| - bundler-cache: true |
15 |
| - - name: Jekyll Build |
16 |
| - run: bundle exec jekyll build |
| 10 | + - uses: actions/checkout@v4 |
| 11 | + - uses: ruby/setup-ruby@v1 |
| 12 | + with: |
| 13 | + ruby-version: 3.3 |
| 14 | + bundler-cache: true |
| 15 | + - name: Jekyll Build |
| 16 | + run: bundle exec jekyll build |
17 | 17 |
|
18 | 18 | doc-build-latest:
|
19 | 19 | runs-on: ubuntu-latest
|
20 | 20 | name: Rails Doc Build (latest)
|
21 | 21 | steps:
|
22 |
| - - uses: actions/checkout@v4 |
23 |
| - with: |
24 |
| - submodules: true |
25 |
| - - name: fetch Rails tags |
26 |
| - run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* |
27 |
| - - uses: ruby/setup-ruby@v1 |
28 |
| - with: |
29 |
| - ruby-version: 3.2 |
30 |
| - bundler-cache: true |
31 |
| - - name: Doc Build |
32 |
| - run: rake build |
| 22 | + - uses: actions/checkout@v4 |
| 23 | + with: |
| 24 | + submodules: true |
| 25 | + - name: fetch Rails tags |
| 26 | + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* |
| 27 | + - uses: ruby/setup-ruby@v1 |
| 28 | + with: |
| 29 | + ruby-version: 3.3 |
| 30 | + bundler-cache: true |
| 31 | + - name: Doc Build |
| 32 | + run: rake build |
| 33 | + |
| 34 | + doc-build-latest-with-yjit: |
| 35 | + runs-on: ubuntu-latest |
| 36 | + name: Rails Doc Build (latest, with YJIT enabled) |
| 37 | + env: |
| 38 | + RUBY_YJIT_ENABLE: true |
| 39 | + steps: |
| 40 | + - uses: actions/checkout@v4 |
| 41 | + with: |
| 42 | + submodules: true |
| 43 | + - name: fetch Rails tags |
| 44 | + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* |
| 45 | + - uses: ruby/setup-ruby@v1 |
| 46 | + with: |
| 47 | + ruby-version: 3.3 |
| 48 | + bundler-cache: true |
| 49 | + - name: Doc Build |
| 50 | + run: rake build |
33 | 51 |
|
34 | 52 | doc-build-others:
|
35 | 53 | runs-on: ubuntu-latest
|
36 | 54 | name: Rails Doc Build (older versions)
|
37 | 55 | steps:
|
38 |
| - - uses: actions/checkout@v4 |
39 |
| - with: |
40 |
| - submodules: true |
41 |
| - - name: fetch Rails tags |
42 |
| - run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5* |
43 |
| - - uses: ruby/setup-ruby@v1 |
44 |
| - with: |
45 |
| - ruby-version: 2.7 |
46 |
| - bundler-cache: true |
47 |
| - - name: Doc Build |
48 |
| - run: rake build_multi |
| 56 | + - uses: actions/checkout@v4 |
| 57 | + with: |
| 58 | + submodules: true |
| 59 | + - name: fetch Rails tags |
| 60 | + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5* |
| 61 | + - uses: ruby/setup-ruby@v1 |
| 62 | + with: |
| 63 | + ruby-version: 2.7 |
| 64 | + bundler-cache: true |
| 65 | + - name: Doc Build |
| 66 | + run: rake build_multi |
0 commit comments