ci: add support for net7 in release action (#34) #99
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 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/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}} | |
test_project_file: ${{ env.TEST_PROJECT_FILE}} | |
- uses: ./.github/actions/contract-tests | |
with: | |
service_project_file: ${{ env.CONTRACT_TEST_PROJECT_FILE}} | |
service_dll_file: ${{ env.CONTRACT_TEST_DLL_FILE}} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: ./.github/actions/build-docs | |
with: | |
workspace_path: ${{ env.WORKSPACE_PATH}} |