Skip to content

Ta/sc 244785/migrating dotnet client sdk #11

Ta/sc 244785/migrating dotnet client sdk

Ta/sc 244785/migrating dotnet client sdk #11

Workflow file for this run

name: LaunchDarkly.ClientSdk CI
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
build-and-test:
strategy:
matrix:
# TODO: Figure out mechanism to skip iOS framework on ubuntu and windows and re-add ubuntu and windows
os: [macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: launchdarkly/gh-actions/actions/[email protected]
name: Get secrets
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
- name: Download snk
shell: bash
run: aws s3 cp s3://launchdarkly-releaser/dotnet/LaunchDarkly.ClientSdk.snk LaunchDarkly.ClientSdk.snk
- uses: ./.github/actions/ci
with:
project_file: pkgs/sdk/client/src/LaunchDarkly.ClientSdk.csproj
test_project_file: pkgs/sdk/client/test/LaunchDarkly.ClientSdk.Tests/LaunchDarkly.ClientSdk.Tests.csproj
- uses: ./.github/actions/contract-tests
with:
service_project_file: pkgs/sdk/client/contract-tests/TestService.csproj
service_dll_file: pkgs/sdk/client/contract-tests/bin/debug/net7.0/ContractTestService.dll
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/build-docs
with:
workspace_path: pkgs/sdk/client