Skip to content

Commit dad6282

Browse files
authored
fix: Fix SBOM release pipeline (#367)
<!-- Please use this template for your pull request. --> <!-- Please use the sections that you need and delete other sections --> ## This PR <!-- add the description of the PR here --> - This pull request includes an update to the `.github/workflows/release.yml` file to set up the .NET SDK for the release workflow. ### Related Issues <!-- add here the GitHub issue that this PR resolves if applicable --> Fixes #362 ### Notes * Added a step to set up the .NET SDK using the `actions/setup-dotnet` action, specifying the .NET version `9.0.x` and the source URL for the NuGet package. ### How to test <!-- if applicable, add testing instructions under this section --> Check green build here: https://github.com/open-feature/dotnet-sdk/actions/runs/13141307066/job/36668893117 Signed-off-by: André Silva <2493377+askpt@users.noreply.github.com>
1 parent cb7105b commit dad6282

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ jobs:
6161
with:
6262
fetch-depth: 0
6363

64+
- name: Setup .NET SDK
65+
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4
66+
env:
67+
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
with:
69+
dotnet-version: |
70+
9.0.x
71+
source-url: https://nuget.pkg.github.com/open-feature/index.json
72+
6473
- name: Install CycloneDX.NET
6574
run: dotnet tool install CycloneDX
6675

0 commit comments

Comments
 (0)