Skip to content

Update gradle/gradle-build-action action to v2.8.1 {patch} (#184) #249

Update gradle/gradle-build-action action to v2.8.1 {patch} (#184)

Update gradle/gradle-build-action action to v2.8.1 {patch} (#184) #249

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: JavaCI-PR
on:
push:
branches: [ main ]
paths:
- 'gradle/libs.versions.toml'
- 'gradle/verification-metadata.xml'
- 'gradle/wrapper/gradle-wrapper.properties'
- '.github/workflows/gradle-ci.yml'
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- '**/README.md'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'pull_request_template.md'
- 'SECURITY.md'
- 'LICENSE'
- '.github/ISSUE_TEMPLATE/**'
- '.github/assets/**'
- '.github/workflows/**'
- '!.github/workflows/gradle-ci.yml'
- '.github/pr-labeler.yml'
- 'renovate.json'
- '.whitesource'
- 'gradle/libs.versions.toml'
permissions: read-all
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
# Set up build environment
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
fetch-depth: 0
- name: 'Set up JDK 11'
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: temurin
java-version: 11
- name: 'Build with Gradle'
uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # v2.8.1
with:
arguments: printVersion build
- name: 'Upload Test reports'
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: test-report-abort-mission-plugin-${{ matrix.os }}
path: build/reports/tests/test
retention-days: 5