Skip to content

Update upload artifact to v4 #10

Update upload artifact to v4

Update upload artifact to v4 #10

Workflow file for this run

name: Check
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: "zulu"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with testing
run: ./gradlew check --console rich --info
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests
path: ./build/reports/tests/test
- name: JaCoCo test report
if: success()
run: ./gradlew jacocoTestReport
- uses: actions/upload-artifact@v4
if: success()
with:
name: jacoco
path: ./build/reports/coverage