Skip to content

Commit 5cb516e

Browse files
authored
Add Mono installation step to pipeline before NuGet pack (#462)
Added a script step to install Mono (mono-complete) on the build agent prior to running the NuGet pack task. This ensures that Mono is available for .NET/Mono-based tooling or packaging, improving compatibility on Linux agents.
1 parent 05ba279 commit 5cb516e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build/psgallery-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ stages:
186186
displayName: 'Generate .nuspec file for each PowerShell module'
187187
env:
188188
SCRIPT_PATH: '$(Build.SourcesDirectory)\build\tools\psd1-to-nuspec.ps1'
189+
- script: |
190+
sudo apt update
191+
sudo apt install -y mono-complete
192+
displayName: Install Mono
189193
- task: NuGetCommand@2
190194
displayName: 'NuGet Pack'
191195
inputs:

0 commit comments

Comments
 (0)