Skip to content

fix: Add service client version to user-agent #840

fix: Add service client version to user-agent

fix: Add service client version to user-agent #840

Workflow file for this run

name: Codegen
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
codegen:
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} ${{ matrix.os }}
strategy:
matrix:
java: [17]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
- name: Log Kotlin version
run: |
which kotlin
kotlin -version
- name: Clean and Build
run: ./gradlew clean build -Plog-tests
- name: Ensure there are no changes after building (e.g. a test sdk)
run: |
git diff
test -z "$(git diff)"