Skip to content

chore(deps): update actions/upload-artifact action from v3 to v4 #305

chore(deps): update actions/upload-artifact action from v3 to v4

chore(deps): update actions/upload-artifact action from v3 to v4 #305

Workflow file for this run

name: Gradle Build
on:
pull_request:
paths-ignore:
- '**.md'
concurrency:
group: gradle-build-${{ github.ref }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
uses: gradle/gradle-build-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/main' }}
arguments: clean build --parallel --build-cache --stacktrace
gradle-home-cache-cleanup: true
gradle-home-cache-includes: |
caches
notifications
jdks
wrapper
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: '**/build/test-results/**/*.xml'
- name: Publish Test Report
if: always()
uses: actions/upload-artifact@v4
with:
name: test-report
path: '**/build/reports/tests/test/*'