Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MashdorDev authored Feb 8, 2024
1 parent f092bec commit f6aaf03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ jobs:
echo "UE_ROOT_DIR=D:\Program Files\EpicGames" >> $GITHUB_ENV
echo "PROJECT_DIR=D:\Dor\Projects\unbread" >> $GITHUB_ENV
echo "PROJECT_NAME=unbread" >> $GITHUB_ENV
shell: pwsh

# Build the game using Unreal Automation Tool
- name: Build Game
run: |
& "$Env:UE_ROOT_DIR\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project="$Env:PROJECT_DIR\$Env:PROJECT_NAME.uproject" -noP4 -platform=Win64 -clientconfig=Development -cook -build -stage -archive -archivedirectory="$Env:PROJECT_DIR\ArchivedBuilds"
shell: pwsh

# Add additional steps for testing, if necessary

# Example: Packaging the game
- name: Package Game
run: |
& "$Env:UE_ROOT_DIR\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project="$Env:PROJECT_DIR\$Env:PROJECT_NAME.uproject" -noP4 -platform=Win64 -clientconfig=Shipping -cook -stage -package -archive -archivedirectory="$Env:PROJECT_DIR\PackagedBuilds"
shell: pwsh

0 comments on commit f6aaf03

Please sign in to comment.