diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e3c94c5 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Build + +on: + pull_request: + branches: [main] + push: + branches: [main, tech/automateBuild] + workflow_dispatch: + +jobs: + build_windows: + runs-on: windows-latest + steps: + - name: Checkout repository. + uses: actions/checkout@v3 + with: + submodules: "recursive" + token: ${{ secrets.pat }} + - name: Run Engine Setup + run: cmd.exe /c ${{ github.workspace }}/UE5_1_1/Setup.bat + - name: Build Plugin + run: ${{ github.workspace }}/UE5_1_1/Engine/Build/BatchFiles/RunUAT.bat BuildPlugin -Plugin=${{ github.workspace }}/Plugins/web3Unreal/web3Unreal.uplugin -Package=${{ github.workspace }}/packagedPlugins/5.1.1 -TargetPlatforms=Win64 -unattended -crash -Rocket + - name: Upload Precompiled Plugin + uses: actions/upload-artifact@v3 + with: + name: web3Unreal_5.1.1 + path: packagedPlugins/5.1.1 + retention-days: 14 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..777d99b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "UE5_1_1"] + path = UE5_1_1 + url = https://github.com/EpicGames/UnrealEngine.git diff --git a/Plugins/web3Unreal/Config/FilterPlugin.ini b/Plugins/web3Unreal/Config/FilterPlugin.ini new file mode 100644 index 0000000..ccebca2 --- /dev/null +++ b/Plugins/web3Unreal/Config/FilterPlugin.ini @@ -0,0 +1,8 @@ +[FilterPlugin] +; This section lists additional files which will be packaged along with your plugin. Paths should be listed relative to the root plugin directory, and +; may include "...", "*", and "?" wildcards to match directories, files, and individual characters respectively. +; +; Examples: +; /README.txt +; /Extras/... +; /Binaries/ThirdParty/*.dll diff --git a/UE5_1_1 b/UE5_1_1 new file mode 160000 index 0000000..5ca9da8 --- /dev/null +++ b/UE5_1_1 @@ -0,0 +1 @@ +Subproject commit 5ca9da84c694c6eee288c30a547fcaa1a40aed9b