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

fix(action): Stop hard-coding XDG_RUNTIME_DIR #71

Merged
merged 1 commit into from
Jul 2, 2022
Merged

Conversation

Kurt-von-Laven
Copy link
Contributor

@Kurt-von-Laven Kurt-von-Laven commented Jul 2, 2022

GitHub Actions made an unannounced change, setting XDG_RUNTIME_DIR to /run/user/1001 and removing /home/runner/.docker/run, which we used to set XDG_RUNTIME_DIR to. This action began failing with the error message "XDG_RUNTIME_DIR needs to be set and writable," because /home/runner/.docker/run no longer existed.

@Kurt-von-Laven Kurt-von-Laven self-assigned this Jul 2, 2022
@Kurt-von-Laven Kurt-von-Laven changed the title fix(action): Update XDG_RUNTIME_DIR fix(action): Stop hard-coding XDG_RUNTIME_DIR Jul 2, 2022
GitHub Actions made an unannounced change, setting XDG_RUNTIME_DIR to
/run/user/1001 and removing /home/runner/.docker/run, which we used to
set XDG_RUNTIME_DIR to. This action began failing with the error message
"XDG_RUNTIME_DIR needs to be set and writable," because
/home/runner/.docker/run no longer existed.
Copy link
Contributor

@mwarres mwarres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good fix!

@Kurt-von-Laven Kurt-von-Laven merged commit be53941 into main Jul 2, 2022
@Kurt-von-Laven Kurt-von-Laven deleted the action branch July 2, 2022 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants