Add thread safety to fix race conditions around usage of static IDict… #26
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: Build | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
- hotfix/* | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022, ubuntu-latest, macos-latest] | |
steps: | |
- name: Get the sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install .NET Core SDK | |
uses: actions/setup-dotnet@v1 | |
- name: Run Cake script | |
uses: cake-build/cake-action@v1 | |
env: | |
GH_PACKAGES_NUGET_SOURCE: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json | |
GH_PACKAGES_NUGET_APIKEY: ${{ secrets.GITHUB_TOKEN }} | |
NUGET_SOURCE: ${{ secrets.NUGET_API_URL }} | |
NUGET_APIKEY: ${{ secrets.NUGET_API_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
cake-version: tool-manifest | |
target: GitHub-Actions |