Skip to content

Update deprecated upload-artifact action to latest. #117

Update deprecated upload-artifact action to latest.

Update deprecated upload-artifact action to latest. #117

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@v4
with:
name: jcstress-report-quick
path: build/reports/jcstress