Bump express from 4.18.2 to 4.19.2 in /website (#3533) #407
This file contains 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: CI | |
on: | |
pull_request: | |
branches: ['**'] | |
push: | |
branches: ['master'] | |
tags: [v*] | |
jobs: | |
build: | |
name: Build and Test | |
strategy: | |
matrix: | |
scala: ["2.12.18", "2.13.12"] | |
java: ["8", "11"] | |
runs-on: ubuntu-latest | |
env: | |
SCALA_VERSION: ${{ matrix.scala }} | |
JAVA_VERSION: ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: coursier/cache-action@v6 | |
- name: unzip rasters | |
run: cd raster/data; unzip geotiff-test-files.zip | |
- name: run tests | |
run: | | |
if [[ "$JAVA_VERSION" == "8" ]]; then | |
docker compose -f .github/docker-compose.yml up test-jdk8 --abort-on-container-exit --exit-code-from test-jdk8 | |
elif [[ "$JAVA_VERSION" == "11" ]]; then | |
docker compose -f .github/docker-compose.yml up test-jdk11 --abort-on-container-exit --exit-code-from test-jdk11 | |
fi | |
publish: | |
name: Publish Artifacts | |
needs: [build] | |
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java: [8] | |
distribution: [temurin] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: coursier/cache-action@v6 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
- name: Release | |
run: sbt ci-release | |
env: | |
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} | |
PGP_SECRET: ${{ secrets.PGP_SECRET }} | |
SONATYPE_PASSWORD: ${{ secrets.SO_PW }} | |
SONATYPE_USERNAME: ${{ secrets.SO_UN }} | |
if: ${{ env.SONATYPE_PASSWORD != '' && env.SONATYPE_USERNAME != '' }} |