diff --git a/.github/workflows/cooking.yml b/.github/workflows/cooking.yml index b5cfb1fd0..109b0f19f 100644 --- a/.github/workflows/cooking.yml +++ b/.github/workflows/cooking.yml @@ -32,7 +32,7 @@ jobs: fetch-depth: 1 repository: FlaxEngine/FlaxSamples path: FlaxSamples - - name: Path Files + - name: Patch Files run: | cp .github\data\ExitOnEsc.cs FlaxSamples\MaterialsFeaturesTour\Source\Game cp ".github\data\Build Settings.json" "FlaxSamples\MaterialsFeaturesTour\Content\Settings" @@ -40,13 +40,13 @@ jobs: run: | .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor - name: Cook Game (Windows) - shell: bash + shell: pwsh run: | - ./Binaries/Editor/Win64/Development/FlaxEditor.exe -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows" + & "./Binaries/Editor/Win64/Development/FlaxEditor.exe" -std -headless -mute -null -project "FlaxSamples/MaterialsFeaturesTour" -build "Development.Windows" - name: Test Game (Windows) - shell: bash + shell: pwsh run: | - ./FlaxSamples/MaterialsFeaturesTour/Output/Windows/MaterialsFeaturesTour.exe -std -headless -mute -null + & "./FlaxSamples/MaterialsFeaturesTour/Output/Windows/MaterialsFeaturesTour.exe" -std -headless -mute -null # Cook on Mac cook-mac: @@ -78,7 +78,7 @@ jobs: fetch-depth: 1 repository: FlaxEngine/FlaxSamples path: FlaxSamples - - name: Path Files + - name: Patch Files run: | cp .github/data/ExitOnEsc.cs FlaxSamples/MaterialsFeaturesTour/Source/Game cp ".github/data/Build Settings.json" "FlaxSamples/MaterialsFeaturesTour/Content/Settings"