Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runner v2.320.0 breaks Nuget pack command #3507

Open
rubik-tech-admin opened this issue Oct 16, 2024 · 0 comments
Open

Runner v2.320.0 breaks Nuget pack command #3507

rubik-tech-admin opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rubik-tech-admin
Copy link

Describe the bug
When running nuget pack in my hosted github action, since it has started using v2.320.0 it fails with the following error:

/opt/hostedtoolcache/nuget.exe/6.11.1/x64/nuget: 2: mono: not found
Error: Process completed with exit code 127.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Github Action
  2. Use NuGet/[email protected] to install the latest version of Nuget
  3. Create a step that uses Nuget to pack some files

Expected behavior
A nuget package should be created

Runner Version and Platform

v2.320.0
ubuntu-latest

OS of the machine running the runner? OSX/Windows/Linux/...
ubuntu-latest

What's not working?

See above

Job Log Output

Run nuget pack $Nuspec_File_Name -Version 1.50.0
  nuget pack $Nuspec_File_Name -Version 1.50.0
  shell: /usr/bin/bash -e {0}
  env:
    Nuspec_File_Name: Rubik.Sage.Base.nuspec
    Solution_Name: Rubik.Sage.Base.sln
    NUGET: /opt/hostedtoolcache/nuget.exe/6.11.1/x64/nuget.exe
    DOTNET_ROOT: /usr/share/dotnet
##[debug]/usr/bin/bash -e /home/runner/work/_temp/f3fef[55](https://github.com/rubik-tech-admin/Rubik-Sage-Base/actions/runs/11367061461/job/31619209890#step:14:55)b-7499-4e72-ad1e-df0a545c5f9a.sh
/opt/hostedtoolcache/nuget.exe/6.11.1/x64/nuget: 2: mono: not found
Error: Process completed with exit code 127.
@rubik-tech-admin rubik-tech-admin added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant