Skip to content

Commit 94edd2d

Browse files
committed
[+] .net build action
1 parent 905d920 commit 94edd2d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@ jobs:
1414
- name: Check out code
1515
uses: actions/checkout@v3
1616

17+
- name: Setup .NET 8.x
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: '8.x'
21+
22+
- uses: actions/checkout@v4
23+
with:
24+
repository: 'MewoLab/AquaMai-Build-Assets'
25+
token: ${{ secrets.PATGH }}
26+
27+
- name: Copy Libs
28+
run: cp AquaMai-Build-Assets/WorldLinkLibs/* mod/Libs/
29+
30+
- name: Build .NET Mod
31+
run: cd mod && dotnet build -c Release
32+
1733
- name: Set up JDK 21
1834
uses: actions/setup-java@v3
1935
with:
@@ -54,7 +70,9 @@ jobs:
5470
body: "CI Build Release"
5571
draft: false
5672
prerelease: false
57-
files: build/libs/worldlinkd.jar
73+
files: |
74+
build/libs/worldlinkd.jar
75+
mod/bin/Release/net472/WorldLink.dll
5876
token: ${{ secrets.GITHUB_TOKEN }}
5977

6078
- name: Upload EXE to Release

0 commit comments

Comments
 (0)