-
Notifications
You must be signed in to change notification settings - Fork 27
34 lines (32 loc) · 1.27 KB
/
build-verification.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Verify Build
on:
push:
branches-ignore:
- main
pull_request:
workflow_dispatch:
jobs:
verification:
name: Verification
runs-on: ubuntu-latest
steps:
- name: Check out project
uses: actions/checkout@v3
- name: Set up JDK 6
uses: actions/setup-java@v3
with:
java-version: '6.0.119'
distribution: 'zulu'
architecture: x64
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'liberica'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build and bundle plugin artifact
run: ./gradlew clean build -Porg.gradle.java.installations.fromEnv=JAVA_HOME_6_0_119_X64 -PjavaCompilerVersion=6
env:
GRADLE_ENTERPRISE_TEST_INSTANCE: ${{ secrets.GE_ACCESS_TOKEN != null && 'https://etiennestuder.gradle-enterprise.cloud' || '' }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN != null && secrets.GE_ACCESS_TOKEN || 'dummy.server=dummy_value' }}