Skip to content

Commit e9f655d

Browse files
authored
Update update_examples.yml
1 parent 41211b0 commit e9f655d

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/update_examples.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ jobs:
3939
run: |
4040
cd tools/rexm/VS2022
4141
msbuild.exe rexm.sln /target:rexm /property:Configuration=Release /property:Platform=x64
42-
cd ../../..
43-
set REXM_EXAMPLES_BASE_PATH="examples"
44-
set REXM_EXAMPLES_WEB_PATH="../raylib.com/examples"
45-
set REXM_EXAMPLES_TEMPLATE_FILE_PATH="examples/examples_template.c"
46-
set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="examples/examples_template.png"
47-
set REXM_EXAMPLES_COLLECTION_FILE_PATH="examples/examples_list.txt"
48-
set REXM_EXAMPLES_VS2022_SLN_FILE="projects/VS2022/raylib.sln"
49-
#set EMSDK_PATH="D:/a/raylib/raylib/emsdk-cache/emsdk-main"
50-
.\tools\rexm\VS2022\build\rexm\bin\x64\Release\rexm.exe build core_basic_window
42+
cd ${{ github.workspace }}/tools/rexm/VS2022/build/rexm/bin/x64/Release
43+
set REXM_EXAMPLES_BASE_PATH="${{ github.workspace }}/examples"
44+
set REXM_EXAMPLES_WEB_PATH="${{ github.workspace }}/../raylib.com/examples"
45+
set REXM_EXAMPLES_TEMPLATE_FILE_PATH="${{ github.workspace }}/examples/examples_template.c"
46+
set REXM_EXAMPLES_TEMPLATE_SCREENSHOT_PATH="${{ github.workspace }}/examples/examples_template.png"
47+
set REXM_EXAMPLES_COLLECTION_FILE_PATH="${{ github.workspace }}/examples/examples_list.txt"
48+
set REXM_EXAMPLES_VS2022_SLN_FILE="${{ github.workspace }}/projects/VS2022/raylib.sln"
49+
rexm.exe build core_basic_window
5150
cd ../..
5251
shell: cmd
5352

0 commit comments

Comments
 (0)