Skip to content

Commit

Permalink
try nuget.config
Browse files Browse the repository at this point in the history
  • Loading branch information
rwsdwatson committed Aug 23, 2024
1 parent 79f189c commit 4d33bfa
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,23 @@ jobs:
uses: microsoft/setup-msbuild@v2



# Install NuGet CLI
- name: Install NuGet CLI
run: |
choco install nuget.commandline
# Authenticate with Azure Artifacts
- name: Authenticate with Azure Artifacts
run: |
nuget sources add -name "AzureArtifacts" -source "${{ env.SDL_NUGET }}" -username "AzureArtifacts" -password "${{ secrets.AZURE_ARTIFACT_PAT }}"
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=Release

# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test $env:Solution_Name

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=Release

- name: build the application
run: msbuild $env:Solution_Name /t:Build /p:Configuration=Release

Expand Down

0 comments on commit 4d33bfa

Please sign in to comment.