Skip to content

Use upload-artifact v3 for now. #118

Use upload-artifact v3 for now.

Use upload-artifact v3 for now. #118

name: JCStress Testing - commit-level quick check
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 11, 17 ]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v2
- name: Set up java
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew jcstress -Pmode=quick
- name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: jcstress-report-quick
path: build/reports/jcstress