소스 검색

Update update_examples.yml

Ray 2 주 전
부모
커밋
e9f655d002
1개의 변경된 파일8개의 추가작업 그리고 9개의 파일을 삭제
  1. 8 9
      .github/workflows/update_examples.yml

+ 8 - 9
.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