Skip to content

Commit

Permalink
[+] .net build action
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Mar 6, 2025
1 parent 905d920 commit e103b89
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,23 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Setup .NET 8.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'

- uses: actions/checkout@v4
with:
repository: 'MewoLab/AquaMai-Build-Assets'
ref: '63ba70e'
token: ${{ secrets.PATGH }}

- name: Copy Libs
run: cp AquaMai-Build-Assets/WorldLinkLibs/* mod/Libs/

- name: Build .NET Mod
run: cd mod && dotnet build -c Release

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -54,7 +71,9 @@ jobs:
body: "CI Build Release"
draft: false
prerelease: false
files: build/libs/worldlinkd.jar
files: |
build/libs/worldlinkd.jar
mod/bin/Release/net472/WorldLink.dll
token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload EXE to Release
Expand Down

0 comments on commit e103b89

Please sign in to comment.