diff --git a/.github/workflows/__autobuild-macos-dotnet.yml b/.github/workflows/__autobuild-macos-dotnet.yml index ba0ca0ea8..a44379983 100644 --- a/.github/workflows/__autobuild-macos-dotnet.yml +++ b/.github/workflows/__autobuild-macos-dotnet.yml @@ -90,6 +90,14 @@ jobs: run: | ../action/runner/dist/codeql-runner-macos init --repository $GITHUB_REPOSITORY --languages csharp --github-url $GITHUB_SERVER_URL --github-auth ${{ github.token }} + - name: Load environment variable + shell: bash + run: | + cat codeql-runner/codeql-env.json | jq + DYLD="$(cat codeql-runner/codeql-env.json | jq -r '.DYLD_INSERT_LIBRARIES')" + echo "$DYLD" + echo "DYLD_INSERT_LIBRARIES=$DYLD" >> "$GITHUB_ENV" + - name: Build code shell: bash run: |