diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9bed4e20..693f47c2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,6 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + - uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + ruby-version: 2.7 - name: Install dependencies run: | pip install sphinx sphinx-book-theme @@ -20,10 +24,7 @@ jobs: run: | cd docs/ make html - - uses: ruby/setup-ruby@v1 - with: - bundler-cache: true - ruby-version: 2.7 + cd .. - name: Yard Doc build run: | bundle exec yard