Skip to content

Bump eta, @docusaurus/core and @docusaurus/theme-search-algolia #262

Bump eta, @docusaurus/core and @docusaurus/theme-search-algolia

Bump eta, @docusaurus/core and @docusaurus/theme-search-algolia #262

Workflow file for this run

name: Build-All
on:
push:
branches-ignore:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
scala:
- { name: 'Scala 2', version: "2.11.12", binary-version: "2.11", java-version: "adopt@1.8" , report: "" }
- { name: 'Scala 2', version: "2.12.12", binary-version: "2.12", java-version: "adopt@1.11", report: "" }
- { name: 'Scala 2', version: "2.13.10", binary-version: "2.13", java-version: "adopt@1.11", report: "report" }
- { name: 'Scala 3', version: "3.0.0", binary-version: "3", java-version: "adopt@1.11", report: "" }
steps:
- uses: actions/checkout@v2.3.4
- uses: olafurpg/setup-scala@v10
with:
java-version: ${{ matrix.scala.java-version }}
- name: Cache SBT
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.cache/coursier
~/.sbt
key: ${{ runner.os }}-sbt-${{ matrix.scala.binary-version }}-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('**/build.properties') }}
restore-keys: |
${{ runner.os }}-sbt-${{ matrix.scala.binary-version }}-
- name: "[Push] Build All for ${{ matrix.scala.name }}: ${{ matrix.scala.version }} - ${{ github.run_number }}"
if: github.event_name == 'push'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
CURRENT_BRANCH_NAME: ${{ github.ref }}
RUN_ID: ${{ github.run_id }}
RUN_NUMBER: ${{ github.run_number }}
run: |
echo "[BEFORE]CURRENT_BRANCH_NAME=${CURRENT_BRANCH_NAME}"
export CURRENT_BRANCH_NAME="${CURRENT_BRANCH_NAME#refs/heads/}"
echo " [AFTER]CURRENT_BRANCH_NAME=${CURRENT_BRANCH_NAME}"
export CI_BRANCH=$CURRENT_BRANCH_NAME
echo "CI_BRANCH: $CI_BRANCH"
echo "RUN_ID=${RUN_ID}"
echo "RUN_NUMBER=${RUN_NUMBER}"
echo "Push #${PUSH_NUMBER}"
java -version
.github/workflows/sbt-build-all.sh ${{ matrix.scala.version }} ${{ matrix.scala.report }}