From e9f655d00200c5fe55b446af1b86b16a3d995dbb Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 21:54:09 +0200 Subject: [PATCH 1/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 0d02fc9c7..2b7c592ba 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -39,15 +39,14 @@ jobs: run: | cd tools/rexm/VS2022 msbuild.exe rexm.sln /target:rexm /property:Configuration=Release /property:Platform=x64 - cd ../../.. - set REXM_EXAMPLES_BASE_PATH="examples" - set REXM_EXAMPLES_WEB_PATH="../raylib.com/examples" - set REXM_EXAMPLES_TEMPLATE_FILE_PATH="examples/examples_template.c" - set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="examples/examples_template.png" - set REXM_EXAMPLES_COLLECTION_FILE_PATH="examples/examples_list.txt" - set REXM_EXAMPLES_VS2022_SLN_FILE="projects/VS2022/raylib.sln" - #set EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-main" - .\tools\rexm\VS2022\build\rexm\bin\x64\Release\rexm.exe build core_basic_window + cd ${{ github.workspace }}/tools/rexm/VS2022/build/rexm/bin/x64/Release + set REXM_EXAMPLES_BASE_PATH="${{ github.workspace }}/examples" + set REXM_EXAMPLES_WEB_PATH="${{ github.workspace }}/../raylib.com/examples" + set REXM_EXAMPLES_TEMPLATE_FILE_PATH="${{ github.workspace }}/examples/examples_template.c" + set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}/examples/examples_template.png" + set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}/examples/examples_list.txt" + set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}/projects/VS2022/raylib.sln" + rexm.exe build core_basic_window cd ../.. shell: cmd From c95630b7d0653cafd817f9a189e0ff7b5d60d396 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 22:00:06 +0200 Subject: [PATCH 2/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 2b7c592ba..4d12cffbe 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -39,13 +39,13 @@ jobs: run: | cd tools/rexm/VS2022 msbuild.exe rexm.sln /target:rexm /property:Configuration=Release /property:Platform=x64 - cd ${{ github.workspace }}/tools/rexm/VS2022/build/rexm/bin/x64/Release - set REXM_EXAMPLES_BASE_PATH="${{ github.workspace }}/examples" - set REXM_EXAMPLES_WEB_PATH="${{ github.workspace }}/../raylib.com/examples" - set REXM_EXAMPLES_TEMPLATE_FILE_PATH="${{ github.workspace }}/examples/examples_template.c" - set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}/examples/examples_template.png" - set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}/examples/examples_list.txt" - set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}/projects/VS2022/raylib.sln" + cd ${{ github.workspace }}\tools\rexm\VS2022\build\rexm\bin\x64\Release + set REXM_EXAMPLES_BASE_PATH="${{ github.workspace }}\examples" + set REXM_EXAMPLES_WEB_PATH="${{ github.workspace }}\..\raylib.com\examples" + set REXM_EXAMPLES_TEMPLATE_FILE_PATH="${{ github.workspace }}\examples\examples_template.c" + set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}\examples\examples_template.png" + set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}\examples\examples_list.txt" + set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}\projects\VS2022\raylib.sln" rexm.exe build core_basic_window cd ../.. shell: cmd From 6c4f220e89b9c33552076901de8d0bb909f71563 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 22:07:39 +0200 Subject: [PATCH 3/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 4d12cffbe..3f1e337af 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -46,6 +46,7 @@ jobs: set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}\examples\examples_template.png" set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}\examples\examples_list.txt" set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}\projects\VS2022\raylib.sln" + dir rexm.exe build core_basic_window cd ../.. shell: cmd From d0e6f60ef353bc1a1ec66fd6b0f8c9daf19cdf4d Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 22:13:18 +0200 Subject: [PATCH 4/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 3f1e337af..7f63c583a 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -40,12 +40,12 @@ jobs: cd tools/rexm/VS2022 msbuild.exe rexm.sln /target:rexm /property:Configuration=Release /property:Platform=x64 cd ${{ github.workspace }}\tools\rexm\VS2022\build\rexm\bin\x64\Release - set REXM_EXAMPLES_BASE_PATH="${{ github.workspace }}\examples" - set REXM_EXAMPLES_WEB_PATH="${{ github.workspace }}\..\raylib.com\examples" - set REXM_EXAMPLES_TEMPLATE_FILE_PATH="${{ github.workspace }}\examples\examples_template.c" - set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}\examples\examples_template.png" - set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}\examples\examples_list.txt" - set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}\projects\VS2022\raylib.sln" + set REXM_EXAMPLES_BASE_PATH=${{ github.workspace }}\examples + set REXM_EXAMPLES_WEB_PATH=${{ github.workspace }}\..\raylib.com\examples + set REXM_EXAMPLES_TEMPLATE_FILE_PATH=${{ github.workspace }}\examples\examples_template.c + set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH=${{ github.workspace }}\examples\examples_template.png + set REXM_EXAMPLES_COLLECTION_FILE_PATH=${{ github.workspace }}\examples\examples_list.txt + set REXM_EXAMPLES_VS2022_SLN_FILE=${{ github.workspace }}\projects\VS2022\raylib.sln dir rexm.exe build core_basic_window cd ../.. From 785965fcef6f4a07535f504ae62fd535897e9637 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 22:18:17 +0200 Subject: [PATCH 5/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index 7f63c583a..a929b7630 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -46,6 +46,7 @@ jobs: set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH=${{ github.workspace }}\examples\examples_template.png set REXM_EXAMPLES_COLLECTION_FILE_PATH=${{ github.workspace }}\examples\examples_list.txt set REXM_EXAMPLES_VS2022_SLN_FILE=${{ github.workspace }}\projects\VS2022\raylib.sln + set EMSDK_PATH=${{ github.workspace }}/emsdk-cache/emsdk-main dir rexm.exe build core_basic_window cd ../.. From f60333d9b24a053974cc1c3d15a50241d6e0d0bf Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 23 Aug 2025 22:19:51 +0200 Subject: [PATCH 6/6] Update update_examples.yml --- .github/workflows/update_examples.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index a929b7630..8fb16a2be 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -49,7 +49,8 @@ jobs: set EMSDK_PATH=${{ github.workspace }}/emsdk-cache/emsdk-main dir rexm.exe build core_basic_window - cd ../.. + cd ${{ github.workspace }}\.. + dir shell: cmd - name: Commit changes to raylib repo