Skip to content

Sudo required seems unnecessary #38

@filonenko-mikhail

Description

@filonenko-mikhail

There is job

jobs:
  tests:
    runs-on: [self-hosted, Linux, x86_64, flavor-8-16]
    container: ubuntu:22.04
    steps:
      - uses: tarantool/setup-tarantool@v2
        with:
          tarantool-version: '2.10'

And there is an error

Error: Unable to locate executable file: sudo. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
/__w/_actions/tarantool/setup-tarantool/v2/dist/main/index.js:5900
                    throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);
                          ^

Error: Unable to locate executable file: tarantool. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

setup-tarantool@v2

It seems that job already has root privileges inside runned container.

Metadata

Metadata

Assignees

No one assigned

    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