-
Notifications
You must be signed in to change notification settings - Fork 16
33 lines (25 loc) · 989 Bytes
/
benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
- workflow_dispatch
name: Benchmark
# Declare default permissions as read only.
permissions: read-all
jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
- uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
- name: Setup Java
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4
with:
distribution: 'temurin'
java-version: '17'
- name: Run benchmark
run: ./gradlew clean benchmark
env:
CTP_CLIENT_ID: ${{ secrets.CTP_CLIENT_ID_PR }}
CTP_CLIENT_SECRET: ${{ secrets.CTP_CLIENT_SECRET_PR }}
CTP_PROJECT_KEY: ${{ secrets.CTP_PROJECT_KEY_PR }}
CTP_JVM_SDK_LOG_LEVEL: OFF