File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -251,22 +251,12 @@ jobs:
251251 credentials :
252252 username : ${{ github.actor }}
253253 password : ${{ secrets.GHCR_TOKEN }}
254- env :
255- # We override this because the default directories are not writeable by the default user inside the container.
256- # An alternative would be to run as the root user (by settings `options: --user 0:0`) but then Unreal itself gets
257- # worried.
258- RUNNER_TEMP : /tmp/actions_tmp/${{ github.run_id }}
259- ACTIONS_RUNNER_TEMP : /tmp/actions_tmp/${{ github.run_id }}
254+ # Run as root because otherwise we get permission denied for various directories inside the container. I tried doing dances to allow it to run
255+ # without this (reassigning env vars and stuff), but was unable to get it to work and it felt like an uphill battle.
256+ options : --user 0:0
260257 steps :
261- - name : Prepare runner temp in a writeable dir
262- run : |
263- set -eux
264- mkdir -p "$RUNNER_TEMP/_runner_file_commands"
265- # Point the core file-command files away from /__w/_temp to our writable dir
266- echo "GITHUB_STATE=$RUNNER_TEMP/_runner_file_commands/save_state" >> "$GITHUB_ENV"
267- echo "GITHUB_OUTPUT=$RUNNER_TEMP/_runner_file_commands/output" >> "$GITHUB_ENV"
268- echo "GITHUB_ENV=$RUNNER_TEMP/_runner_file_commands/env" >> "$GITHUB_ENV"
269- echo "GITHUB_STEP_SUMMARY=$RUNNER_TEMP/_runner_file_commands/summary" >> "$GITHUB_ENV"
258+ # Uncomment this before merging so that it will run properly if run manually through the GH actions flow. It was playing weird with rolled back
259+ # commits though.
270260# - name: Find Git ref
271261# env:
272262# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments