2121 DOTNET_CLI_TELEMETRY_OPTOUT : true
2222 DOTNET_GENERATE_ASPNET_CERTIFICATE : false
2323 DISPLAY : ' :99.0'
24- defaults :
25- run :
26- working-directory : vscode-powershell
2724 steps :
2825 - name : Checkout PowerShellEditorServices
2926 uses : actions/checkout@v4
@@ -40,24 +37,20 @@ jobs:
4037 uses : actions/setup-dotnet@v4
4138 with :
4239 cache : true
43- cache-dependency-path : ' PowerShellEditorServices/**/packages.lock.json'
40+ cache-dependency-path : PowerShellEditorServices/**/packages.lock.json
4441 global-json-file : PowerShellEditorServices/global.json
45- source-url : https://pkgs.dev.azure.com/mscodehub/PowerShellCore/_packaging/PowerShellCore_PublicPackages/nuget/v3/index.json
46- config-file : PowerShellEditorServices/NuGet.config
47- env :
48- NUGET_AUTH_TOKEN : ${{ secrets.AZURE_NUGET_TOKEN }}
49-
50- - name : Install PSResources
51- shell : pwsh
52- run : ./tools/installPSResources.ps1
5342
54- - name : Deploy generated NuGet configuration
43+ - name : Remove Azure Artifact Feed configurations
5544 shell : pwsh
56- run : Copy-Item ../../nuget.config ../PowerShellEditorServices/NuGet.config
45+ run : |
46+ Remove-Item -Force .npmrc
47+ Remove-Item test/mocks/BinaryModule/NuGet.Config
48+ Remove-Item ../PowerShellEditorServices/NuGet.Config
49+ working-directory : vscode-powershell
5750
58- - name : Deploy NPM configuration
51+ - name : Install PSResources
5952 shell : pwsh
60- run : Copy-Item .github/workflows/npmrc .npmrc
53+ run : ./vscode-powershell/tools/installPSResources.ps1
6154
6255 - uses : actions/setup-node@v4
6356 with :
7265 - name : Build, test and package
7366 shell : pwsh
7467 run : Invoke-Build -Configuration Release
75- env :
76- NPM_PASSWORD : ${{ secrets.AZURE_NPM_PASSWORD_BASE64 }}
68+ working-directory : vscode-powershell
7769
7870 - name : Upload build artifacts
7971 uses : actions/upload-artifact@v4
0 commit comments