Add build CI #4
Workflow file for this run
This file contains hidden or 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
| 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 | |
| ref: 5.3 # or 5.4, or a tag/branch | |
| token: ${{ secrets.GITHUB_TOKEN }} # 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 |