Bump org.objenesis:objenesis from 3.3 to 3.4 #921
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: Gradle Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
java: ['17', '21'] | |
distribution: ['temurin'] | |
fail-fast: false | |
name: ${{ matrix.os }} JDK ${{ matrix.java }} | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
- name: Cache Gradle packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Build with Gradle | |
run: ./gradlew buildCI installDist --scan --info --stacktrace | |
- name: Generate SHA256SUMS (Linux) | |
run: sha256sum artifacts/*/* > SHA256SUMS | |
working-directory: ./build | |
if: runner.os == 'Linux' | |
- name: Generate SHA256SUMS (macOS) | |
run: shasum -a 256 artifacts/*/* > SHA256SUMS | |
working-directory: ./build | |
if: runner.os == 'macOS' | |
- name: Upload SHA256SUMS | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SHA256SUMS-${{ matrix.os }}-${{ matrix.java }} | |
path: build/SHA256SUMS | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts-${{ matrix.os }}-${{ matrix.java }} | |
path: build/artifacts |