Skip to content

Commit

Permalink
🎨 More using global json
Browse files Browse the repository at this point in the history
  • Loading branch information
eduwardpost committed Nov 24, 2024
1 parent 6931b34 commit 0fb2eb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,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'

# Download the NuGet package created in the previous job
- uses: actions/download-artifact@v4
Expand All @@ -91,6 +93,8 @@ jobs:

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: './src/global.json'

# Setup sonar cloud scanner
- name: Set up JDK 17
Expand Down Expand Up @@ -161,6 +165,8 @@ jobs:
# Install the .NET SDK indicated in the global.json file
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
global-json-file: './src/global.json'

# Publish all NuGet packages to NuGet.org
# Use --skip-duplicate to prevent errors if a package with the same version already exists.
Expand Down

0 comments on commit 0fb2eb0

Please sign in to comment.