Skip to content

request retry policy aligned with the one used by Python SDK #43

request retry policy aligned with the one used by Python SDK

request retry policy aligned with the one used by Python SDK #43

Workflow file for this run

name: Build branch
on:
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
build_branch:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.2
- name: Setup Java
uses: actions/setup-java@v4.5.0
with:
distribution: 'temurin'
java-version: 22
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4.1.0
- name: Install libcurl4
run: sudo apt-get install -y libcurl4-gnutls-dev
- name: Build
run: ./gradlew -PjvmOnlyBuild=false build
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}