Skip to content

Commit

Permalink
Add a NuGet.config file to the BinaryModule mock
Browse files Browse the repository at this point in the history
So that Cloud Feed Services is happy.
  • Loading branch information
andyleejordan committed Apr 4, 2024
1 parent 40e0ce3 commit 11d50b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
if: always()
with:
name: vscode-powershell-vsix-${{ matrix.os }}
path: vscode-powershell/powershell-*.vsix
path: '**/*.vsix'

- name: Upload test results
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/vscode-powershell-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ extends:
- download: current
displayName: Download artifacts
- task: npmAuthenticate@0
displayName: Install NPM packages (for vsce)
displayName: Authenticate NPM with Azure Artifacts (for vsce)
inputs:
workingFile: .npmrc
- pwsh: npm ci
Expand Down
7 changes: 7 additions & 0 deletions test/mocks/BinaryModule/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="PowerShellCore_PublicPackages" value="https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json" />
</packageSources>
</configuration>

0 comments on commit 11d50b0

Please sign in to comment.