Skip to content

XDG_CONFIG_HOME points to /home/runneradmin/.config, not /home/runner/.config #27

@mhils

Description

@mhils

In the Ubuntu 24.04 ARM64 image, the $XDG_CONFIG_HOME environment variable currently points to a directory that's not readable by the current user. This causes issues for software that tries to read configuration from disk. For example, cargo fails if build.rs is present because it then tries to read git configuration and fails to access it.

Workaround: Overwrite XDG_CONFIG_HOME for the failing CI step, for example like this:

     - run: ...
       env:
         XDG_CONFIG_HOME: ~/.config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions