Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SignatureBeef committed Dec 28, 2024
1 parent da9731b commit 7289353
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ jobs:
patch_target: m,
package_path: OTAPI.Mobile.nupkg,
},
{
name: tModLoader,
patch_target: t,
package_path: OTAPI.TML.nupkg,
},
# { this is ultimately not supported yet, consideration in future when time permits
# name: tModLoader,
# patch_target: t,
# package_path: OTAPI.TML.nupkg,
# },
]

runs-on: ${{ matrix.os.runs-on }}
Expand All @@ -63,12 +63,17 @@ jobs:
with:
dotnet-version: '9.0.x'

- name: Build the project
- name: Server patch
run: |
dotnet build OTAPI.Mods.slnf
(cd OTAPI.Patcher/bin/Debug/net9.0 && exec dotnet run --project ../../../OTAPI.Patcher.csproj -patchTarget=${{ matrix.profile.patch_target }} -latest=n --framework net9.0)
cd OTAPI.Patcher/bin/Debug/net9.0
exec dotnet run --project ../../../OTAPI.Patcher.csproj -patchTarget=${{ matrix.profile.patch_target }} -latest=n --framework net9.0
- name: Server boot
run: |
dotnet build OTAPI.Server.Launcher.slnf
(cd OTAPI.Server.Launcher/bin/Debug/net9.0 && exec dotnet OTAPI.Server.Launcher.dll -test-init)
cd OTAPI.Server.Launcher/bin/Debug/net9.0
exec dotnet OTAPI.Server.Launcher.dll -test-init
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 7289353

Please sign in to comment.