-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Unreal Engine Build and Package Workflow | ||
|
||
on: | ||
push: | ||
branches: [ main, dev ] | ||
pull_request: | ||
branches: [ main, dev ] | ||
|
||
jobs: | ||
build-and-package: | ||
runs-on: self-hosted | ||
defaults: | ||
run: | ||
shell: pwsh | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Set up environment variables, if necessary | ||
- name: Set up Environment Variables | ||
run: | | ||
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: | | ||
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 |
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
Content/Unbread/Maps/_GENERATED/alanm/Cylinder_11D434AC.uasset
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
Content/Unbread/Maps/_GENERATED/alanm/Cylinder_35453A66.uasset
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
Content/Unbread/Maps/_GENERATED/alanm/Cylinder_3C4D3D95.uasset
Git LFS file not shown
3 changes: 3 additions & 0 deletions
3
Content/Unbread/Maps/_GENERATED/alanm/Extrude_9661BC65.uasset
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown