Skip to content

Running Windows 2019 server produces an exit code of 1 #10

@peter-ro

Description

@peter-ro

When integrating the following into my repo:

  • uses: Vampire/setup-wsl@v1
    with:
    cache: 'false'
    distribution: Ubuntu-18.04
    set-as-default: 'true'

Returns an exit code of 1 but the installation of file and directories looks like it ran successfully - unsure if the distribution is installed on the system. We are running this within an Azure cloud environment on a Windows 2019 Server - which is a self-hosted github runner.

Is it because the following command needs to be ran?
wsl-shell-command: bash -c "sudo -u test bash --noprofile --norc -euo pipefail "

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions