Skip to content

Commit

Permalink
🎨 Setup global.json
Browse files Browse the repository at this point in the history
  • Loading branch information
eduwardpost committed Nov 24, 2024
1 parent c80a00c commit 6931b34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
# Install the .NET SDK indicated in the global.json file
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: './src/global.json'

# Create the NuGet package in the folder from the environment variable NuGetDirectory
- run: dotnet pack --configuration Release --output ${{ env.NuGetDirectory }}
Expand Down
7 changes: 7 additions & 0 deletions src/global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"allowPrerelease": false,
"rollForward": "latestFeature",
"version": "8.0.404"
}
}

0 comments on commit 6931b34

Please sign in to comment.