#456 Directly replace Fence with the methods setRelease, setVolatile, and getAcquire. No need to set barriers via VarHandle #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java CI with Gradle | |
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 build | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: libs-and-reports | |
path: | | |
build/libs | |
build/reports |