Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build_plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build Unreal Plugin

on:
push:
pull_request:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout plugin source
uses: actions/checkout@v4

- name: Checkout Unreal Engine
uses: actions/checkout@v4
with:
repository: GloryOfNight/UnrealEngine
token: ${{ secrets.UE_REPO }} # must have access to UE repo
path: UE

- name: Setup Unreal dependencies
shell: powershell
working-directory: UE
run: |
./Setup.bat
./GenerateProjectFiles.bat

- name: Build Plugin
shell: powershell
run: |
& UE\Engine\Build\BatchFiles\RunUAT.bat BuildPlugin ^
-Plugin="$PWD/UnrealRCon.uplugin" ^
-Package="$PWD/Package" ^
-Rocket ^
-TargetPlatforms=Win64
Loading