Skip to content

Commit d4a1189

Browse files
authored
Merge pull request #5 from Scoolnik/development Release v1.2.0.1
2 parents c9aa93a + 5d6d431 commit d4a1189

File tree

18 files changed

+624
-362
lines changed

18 files changed

+624
-362
lines changed

.github/workflows/dotnet.yml

Lines changed: 20 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -16,104 +16,51 @@ jobs:
1616
# Setup
1717

1818
- name: Checkout latest
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
with:
2121
submodules: true
22+
23+
- name: Checkout private tools
24+
uses: actions/checkout@v4
25+
with:
26+
repository: ${{ secrets.NR_INTEROP_REPO }}
27+
token: ${{ secrets.NR_INTEROP_TOKEN }}
28+
path: NR_INTEROP
29+
2230
- name: Setup dotnet
23-
uses: actions/setup-dotnet@v3
31+
uses: actions/setup-dotnet@v4
2432
with:
25-
dotnet-version: '6.x'
33+
dotnet-version: "6.x"
2634
# Run build script
2735
- name: Build UE
2836
run: ./build.ps1
2937

3038
# Upload artifacts
31-
- name: Upload BepInEx.IL2CPP
32-
uses: actions/upload-artifact@v3
33-
with:
34-
name: CinematicUnityExplorer.BepInEx.IL2CPP.zip
35-
path: ./Release/CinematicUnityExplorer.BepInEx.IL2CPP/
36-
37-
- name: Upload BepInEx.IL2CPP.CoreCLR
38-
uses: actions/upload-artifact@v3
39-
with:
40-
name: CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR.zip
41-
path: ./Release/CinematicUnityExplorer.BepInEx.IL2CPP.CoreCLR/
42-
4339
- name: Upload BepInEx.Unity.IL2CPP.CoreCLR
44-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4541
with:
4642
name: CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
47-
path: ./Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/
48-
49-
- name: Upload BepInEx5.Mono
50-
uses: actions/upload-artifact@v3
51-
with:
52-
name: CinematicUnityExplorer.BepInEx5.Mono.zip
53-
path: ./Release/CinematicUnityExplorer.BepInEx5.Mono/
54-
55-
- name: Upload BepInEx6.Mono
56-
uses: actions/upload-artifact@v3
57-
with:
58-
name: CinematicUnityExplorer.BepInEx6.Mono.zip
59-
path: ./Release/CinematicUnityExplorer.BepInEx6.Mono/
60-
61-
- name: Upload BepInEx6.Unity.Mono
62-
uses: actions/upload-artifact@v3
63-
with:
64-
name: CinematicUnityExplorer.BepInEx6.Unity.Mono.zip
65-
path: ./Release/CinematicUnityExplorer.BepInEx6.Unity.Mono/
43+
path: ./Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/output
6644

6745
- name: Upload MelonLoader.IL2CPP
68-
uses: actions/upload-artifact@v3
46+
uses: actions/upload-artifact@v4
6947
with:
7048
name: CinematicUnityExplorer.MelonLoader.IL2CPP.zip
71-
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP/
72-
73-
- name: Upload MelonLoader.IL2CPP.net6preview
74-
uses: actions/upload-artifact@v3
75-
with:
76-
name: CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview.zip
77-
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP.net6preview/
49+
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP/output
7850

7951
- name: Upload MelonLoader.IL2CPP.CoreCLR
80-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
8153
with:
8254
name: CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR.zip
83-
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR/
84-
85-
- name: Upload MelonLoader.Mono
86-
uses: actions/upload-artifact@v3
87-
with:
88-
name: CinematicUnityExplorer.MelonLoader.Mono.zip
89-
path: ./Release/CinematicUnityExplorer.MelonLoader.Mono/
90-
91-
- name: Upload Standalone.IL2CPP
92-
uses: actions/upload-artifact@v3
93-
with:
94-
name: CinematicUnityExplorer.Standalone.IL2CPP.zip
95-
path: ./Release/CinematicUnityExplorer.Standalone.IL2CPP/
96-
97-
- name: Upload Standalone.Mono
98-
uses: actions/upload-artifact@v3
99-
with:
100-
name: CinematicUnityExplorer.Standalone.Mono.zip
101-
path: ./Release/CinematicUnityExplorer.Standalone.Mono/
102-
103-
- name: Upload Editor
104-
uses: actions/upload-artifact@v3
105-
with:
106-
name: CinematicUnityExplorer.Editor.zip
107-
path: ./UnityEditorPackage/
108-
55+
path: ./Release/CinematicUnityExplorer.MelonLoader.IL2CPP.CoreCLR/output
10956

11057
build_connector:
11158
runs-on: windows-latest
11259
if: "!contains(github.event.head_commit.message, '-noci')"
11360

11461
steps:
11562
- name: Checkout latest
116-
uses: actions/checkout@v3
63+
uses: actions/checkout@v4
11764
with:
11865
submodules: true
11966

@@ -127,13 +74,13 @@ jobs:
12774
run: ./build_connector.ps1
12875

12976
- name: Upload Unity IGCS Connector
130-
uses: actions/upload-artifact@v3
77+
uses: actions/upload-artifact@v4
13178
with:
13279
name: UnityIGCSConnector.dll
13380
path: ./Release/UnityIGCSConnector.dll
13481

13582
- name: Upload Unity IGCS Connector 32bit
136-
uses: actions/upload-artifact@v3
83+
uses: actions/upload-artifact@v4
13784
with:
13885
name: UnityIGCSConnector.32.dll
13986
path: ./Release/UnityIGCSConnector.32.dll
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build CinematicUnityExplorer (Nightly)
2+
3+
# Controls when the action will run.
4+
on:
5+
push:
6+
branches: [development]
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build_dotnet:
12+
runs-on: windows-latest
13+
if: "!contains(github.event.head_commit.message, '-noci')"
14+
15+
steps:
16+
# Setup
17+
18+
- name: Checkout latest
19+
uses: actions/checkout@v4
20+
with:
21+
submodules: true
22+
- name: Checkout private tools
23+
uses: actions/checkout@v4
24+
with:
25+
repository: ${{ secrets.NR_INTEROP_REPO }}
26+
token: ${{ secrets.NR_INTEROP_TOKEN }}
27+
path: NR_INTEROP
28+
- name: Setup dotnet
29+
uses: actions/setup-dotnet@v4
30+
with:
31+
dotnet-version: "6.x"
32+
33+
- name: Cache UniverseLib
34+
id: cache-universe-lib-build
35+
uses: actions/cache@v4
36+
env:
37+
cache-name: cache-universe-lib
38+
with:
39+
path: ./UniverseLib/Release
40+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('.git\modules\UniverseLib\HEAD') }}
41+
42+
- if: ${{ steps.cache-universe-lib-build.outputs.cache-hit != 'true' }}
43+
name: Build UniverseLib
44+
working-directory: ./UniverseLib
45+
run: dotnet build src\UniverseLib.sln -c Release_IL2CPP_Interop_BIE
46+
47+
- name: Build UE
48+
run: ./build_nightly.ps1
49+
50+
# Upload artifacts
51+
- name: Upload BepInEx.Unity.IL2CPP.CoreCLR
52+
uses: actions/upload-artifact@v4
53+
with:
54+
name: CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR.zip
55+
path: ./Release/CinematicUnityExplorer.BepInEx.Unity.IL2CPP.CoreCLR/output

0 commit comments

Comments
 (0)