Skip to content

Remove --scan from build parameters #598

Remove --scan from build parameters

Remove --scan from build parameters #598

Workflow file for this run

name: Build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' pnpmTests" }
- {os: ubuntu-latest, java: 11, params: "'-PtestedGradleVersion=6.9.4|7.6.3' build" }
- {os: ubuntu-latest, java: 17, params: "'-PtestedGradleVersion=8.10.2' build pnpmTests"}
- {os: windows-latest, java: 11, params: "build pnpmTests" }
- {os: macos-latest, java: 11, params: "build pnpmTests" }
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.config.java }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.event_name == 'pull_request' }}
develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
- name: Build
run: ./gradlew "-Pcom.github.gradle.node.predictivetestselection=${{ github.event_name == 'pull_request' }}" ${{ matrix.config.params }}