Merge pull request #2244 from circe/remove-myself-from-maintainership #298
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "[Docs] Build Only" | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
github-pages: | |
strategy: | |
matrix: | |
scala: [ "2.13.8" ] | |
java: [ "8" ] | |
ruby: [ "2.6.3" ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Java and Scala | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: temurin | |
- name: Cache sbt | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.coursier/cache/v1 | |
~/.cache/coursier/v1 | |
~/AppData/Local/Coursier/Cache/v1 | |
~/Library/Caches/Coursier/v1 | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Setup Jekyll | |
run: | | |
gem install sass | |
gem install jekyll -v 4.0.0 | |
- name: Build doc site | |
run: | | |
sbt --client ++${{ matrix.scala }} "docs/makeMicrosite" |