Skip to content

automate byte-buddy build #109

automate byte-buddy build

automate byte-buddy build #109

Workflow file for this run

name: Test all the things
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}
strategy:
matrix:
java: [8, 11, 17, 21]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java }}
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'gradle'
- name: Test
run: |
# Conditionally run different commands based on the Java version
if [[ "${{ matrix.java }}" == "8" ]]; then
./gradlew wrapper --gradle-version=8.4-rc-1 :agent:spec && ./gradlew wrapper --gradle-version=8.4-rc-1 agent:publishToMavenLocal
else
./travis-test.sh
fi