Fix macOS runner home permissions
This commit is contained in:
parent
1a3d59d25f
commit
15e897d262
1 changed files with 2 additions and 0 deletions
|
|
@ -597,6 +597,8 @@ func macosBootstrapScript() string {
|
||||||
workdir="${FORGEJO_RUNNER_WORKDIR:-/tmp/forgejo-runner}"
|
workdir="${FORGEJO_RUNNER_WORKDIR:-/tmp/forgejo-runner}"
|
||||||
mkdir -p "${workdir}"
|
mkdir -p "${workdir}"
|
||||||
cd "${workdir}"
|
cd "${workdir}"
|
||||||
|
export HOME="${workdir}/home"
|
||||||
|
mkdir -p "${HOME}/.cache/act"
|
||||||
|
|
||||||
export PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}"
|
export PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin:${PATH}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue