chore: introduce server-ai package #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LaunchDarkly.ServerSdk.Ai 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: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Env from project's Env file | |
shell: bash | |
run: echo "$(cat pkgs/sdk/server-ai/github_actions.env)" >> $GITHUB_ENV | |
- uses: launchdarkly/gh-actions/actions/[email protected] | |
name: Get secrets | |
with: | |
aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | |
- uses: ./.github/actions/ci | |
with: | |
project_file: ${{ env.PROJECT_FILE}} | |
- uses: ./.github/actions/build-docs | |
with: | |
workspace_path: ${{ env.WORKSPACE_PATH}} |