Merge pull request #1286 from modelix/dependabot/gradle/org.json-json… #3133
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: MPS compatibility | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: {} | |
# allow manual execution just in case | |
workflow_dispatch: | |
jobs: | |
build-mps-components: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
version: | |
- "2021.1" | |
- "2021.2" | |
- "2021.3" | |
- "2022.2" | |
- "2022.3" | |
- "2023.2" | |
- "2023.3" | |
- "2024.1" | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Set up JDK | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4 | |
- name: Build with ${{ matrix.version }} | |
run: >- | |
./gradlew --build-cache | |
:bulk-model-sync-mps:build | |
:metamodel-export:build | |
:mps-model-adapters:build | |
:mps-model-adapters-plugin:build | |
-Pmps.version.major=${{ matrix.version }} |