Skip to content

run action dotnet@5 is failing #698

@VijayganeshSubramaniam

Description

@VijayganeshSubramaniam

Description:
Automatic depency submit enable and it was working, it suddenly started failing while running dotnet@5 action. Not sure why the enviornment is managed by github

Image

Task version:
actions/setup-dotnet@v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
Automatic dependency submission triggers

Expected behavior:
Supposed to proceed the dotnet installation steps

Actual behavior:
Failed with permission denied.
SKIP_CACHE:
/home/runner/_work/_actions/actions/setup-dotnet/v5/externals/install-dotnet.sh --skip-non-versioned-files --runtime dotnet --channel LTS
mkdir: cannot create directory '/usr/share/dotnet': Permission denied
Warning: Failed to install dotnet runtime + cli, exit code: 1. mkdir: cannot create directory '/usr/share/dotnet': Permission denied
/home/runner/_work/_actions/actions/setup-dotnet/v5/externals/install-dotnet.sh --skip-non-versioned-files --channel 8.0
mkdir: cannot create directory '/usr/share/dotnet': Permission denied
Error: Failed to install dotnet, exit code: 1. mkdir: cannot create directory '/usr/share/dotnet': Permission denied

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions