Skip to content

Commit

Permalink
Updating benchmarks action.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Nov 21, 2024
1 parent 3bfca93 commit 0bc42b6
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,16 @@ name: Benchmarks
on: [workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: ubuntu-latest
jdk: 21
experimental: [false]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Cache Maven packages
uses: actions/cache@v1
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Set up JDK ${{ matrix.jdk }}
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: ${{ matrix.jdk }}
java-version: 21
cache: maven
- name: Build
run: BENCHMARKS_ENABLED=true BENCHMARKS_CONNECTION_STRING="${{ secrets.BENCHMARKS_CONNECTION_STRING }}" BENCHMARKS_USER="${{ secrets.BENCHMARKS_USER }}" BENCHMARKS_PASSWORD="${{ secrets.BENCHMARKS_PASSWORD }}" mvn test

0 comments on commit 0bc42b6

Please sign in to comment.