Replace deprecated Gradle/ScalarDB features (#74) #10
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: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build-with-various-java-versions: | |
strategy: | |
matrix: | |
version: [8, 11, 17, 21] | |
project: | |
- 'microservice-transaction-sample' | |
- 'multi-storage-transaction-sample' | |
- 'scalardb-kotlin-sample' | |
- 'scalardb-sample' | |
- 'scalardb-sql-jdbc-sample' | |
- 'spring-data-microservice-transaction-sample' | |
- 'spring-data-multi-storage-transaction-sample' | |
- 'spring-data-sample' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.version }} | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Build with Gradle Wrapper | |
working-directory: ${{ matrix.project }} | |
run: ./gradlew build |