Merge pull request #4 from dkrizhanovskyi/patch-1 #2
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 CinematicUnityExplorer | |
| # Controls when the action will run. | |
| on: | |
| push: | |
| branches: [master] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build_dotnet: | |
| runs-on: windows-latest | |
| if: "!contains(github.event.head_commit.message, '-noci')" | |
| steps: | |
| # Setup | |
| - name: Checkout latest | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Checkout private tools | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ secrets.NR_INTEROP_REPO }} | |
| token: ${{ secrets.NR_INTEROP_TOKEN }} | |
| path: NR_INTEROP | |
| - name: Setup dotnet | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "6.x" | |
| # Run build script | |
| - name: Build UE | |
| run: ./build.ps1 | |
| # Upload artifacts | |
| - name: Upload BepInEx.Unity.IL2CPP.CoreCLR | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip | |
| path: ./Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/output | |
| - name: Upload MelonLoader.IL2CPP | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CinematicUnityExplorer.MelonLoader.IL2CPP.zip | |
| path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP/output | |
| - name: Upload MelonLoader.IL2CPP.CoreCLR | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip | |
| path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR/output | |
| build_connector: | |
| runs-on: windows-latest | |
| if: "!contains(github.event.head_commit.message, '-noci')" | |
| steps: | |
| - name: Checkout latest | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup C/C++ | |
| uses: TheMrMilchmann/[email protected] | |
| with: | |
| arch: x64 | |
| # Run build script | |
| - name: Build Unity IGCS Connector | |
| run: ./build_connector.ps1 | |
| - name: Upload Unity IGCS Connector | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: UnityIGCSConnector.dll | |
| path: ./Release/UnityIGCSConnector.dll | |
| - name: Upload Unity IGCS Connector 32bit | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: UnityIGCSConnector.32.dll | |
| path: ./Release/UnityIGCSConnector.32.dll |