Bump com.gradle.enterprise from 3.17.4 to 3.18.1 #454
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: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [ opened, labeled, unlabeled, synchronize ] | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | |
jobs: | |
jvm: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: | |
- 8 | |
steps: | |
- name: Cache Gradle dependencies | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper/ | |
~/.android/build-cache | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Setup Gradle | |
uses: gradle/actions/[email protected] | |
with: | |
gradle-home-cache-cleanup: true | |
- run: ./gradlew --version | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/[email protected] | |
- name: Configure JDK | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java-version }} | |
- name: Run Build | |
run: ./gradlew clean build jar docsJar sourcesJar testsJar reportsZip generatePomFileForMavenPublication -s --scan | |
- name: Upload Artifacts | |
uses: actions/[email protected] | |
if: always() | |
with: | |
name: gradle-checker-framework-plugin-${{ github.workflow }}-${{ github.run_id }} | |
path: | | |
build/libs | |
build/outputs | |
build/publications | |
build/distributions | |
build/reports | |
build/test-results | |
if-no-files-found: warn | |
publish: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' | |
needs: | |
- jvm | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/[email protected] | |
- name: Configure JDK | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: 8 | |
- name: Publish | |
run: ./gradlew clean artifactoryPublish -s --scan | |
env: | |
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }} | |
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }} | |
GRADLE_KEY: ${{ secrets.GRADLE_KEY }} | |
GRADLE_SECRET: ${{ secrets.GRADLE_SECRET }} |