From ea594e9bb7936b02a70cac8b3dc8ef168c80ff00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20=C5=BBydek?= Date: Fri, 20 Sep 2024 10:30:59 +0200 Subject: [PATCH] ci: add sync step for dotnet SDK --- .../workflows/sync-server-side-sdks-schema.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/sync-server-side-sdks-schema.yml b/.github/workflows/sync-server-side-sdks-schema.yml index 19fc324..417e111 100644 --- a/.github/workflows/sync-server-side-sdks-schema.yml +++ b/.github/workflows/sync-server-side-sdks-schema.yml @@ -45,3 +45,20 @@ jobs: allowed-scopes: events,visitors,webhook secrets: APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} + + sync-dotnet: + name: 'Sync schema in Dotnet SDK' + uses: fingerprintjs/dx-team-toolkit/.github/workflows/update-server-side-sdk-schema.yml@v1 + with: + tag: ${{ inputs.tag }} + language: dotnet + language-version: '8.x' + generate-command: 'bash ./generate.sh' + schema-path: res/fingerprint-server-api.yaml + examples-path: src/FingerprintPro.ServerSdk.Test/mocks + app-id: ${{ vars.APP_ID }} + repository: fingerprint-pro-server-api-dotnet-sdk + pre-release: ${{ inputs.pre-release }} + allowed-scopes: events,visitors,webhook + secrets: + APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}