From a0da3ac28184f8ac85cae7d9fe0e8b69e715288f Mon Sep 17 00:00:00 2001 From: Carter Gale Date: Sun, 25 Dec 2022 00:34:38 -0800 Subject: [PATCH] Add missing step to C#/Mono tutorial in README.md (#84) * Add missing step to C#/Mono tutorial in README.md Previously, the detail that you had to change .stable to .stable.mono in the Setup steps directory structure was not listed and was very confusing for me until I found an issue from some time ago ( https://github.com/abarichello/godot-ci/issues/29#issuecomment-680315417 ) that stated this solution but was never addressed. I hope this can save people some trouble in the future. * Apply suggestions from code review * Update README.md Co-authored-by: Hugo Locurcio --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ee9905..58ce43c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,16 @@ https://hub.docker.com/r/barichello/godot-ci/ ### Mono/C# -To build a godot project with Mono enabled, change the image tag from `barichello/godot-ci:VERSION` to `barichello/godot-ci:mono-VERSION` in `.gitlab-ci.yml` (Gitlab) or `godot-ci.yml` (Github). e.g. `barichello/godot-ci:mono-3.2.1`. +To build a Godot project with Mono (C#) enabled, you must do two things for each job: +1. Change the container's `image` tag from `barichello/godot-ci:VERSION` to `barichello/godot-ci:mono-VERSION` in `.gitlab-ci.yml` (Gitlab) or `godot-ci.yml` (Github). (e.g. `barichello/godot-ci:mono-3.2.1`). +2. You will also need to change your "Setup" step's run commands (looks like `run: mv /root/.local ...`) from ending with `...${GODOT_VERSION}.stable` to ending with `...${GODOT_VERSION}.stable.mono`. You will need to do this for both directories in the command. +```bash +mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable +``` +becomes: +```bash +mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable.mono ~/.local/share/godot/templates/${GODOT_VERSION}.stable.mono +``` ### Android