mirror of
https://github.com/DorkSquadRR/DorkNet.git
synced 2026-10-26 15:38:45 -07:00
8e12db660b
.NET 8 and 9 reach end of support on 2026-11-10; .NET 10 is the LTS release (supported until November 2028). - net9.0 -> net10.0 for every server, service, gateway, test and tool project - ASP.NET Core / EF Core / SignalR Redis 10.0.13, Npgsql EF 10.0.3, Serilog.AspNetCore 10.0.0 - Dockerfile / Dockerfile.service: sdk and aspnet 10.0 images - release workflow: setup-dotnet 10.0.x - Jenkins build agent: dotnet-sdk-10.0 (was 8.0); the ClientMod still targets net6.0, which MelonLoader loads - README / architecture docs, .gitignore data paths DorkNet.AdminMobile (MAUI) stays on net9.0 for now: building it needs the Android/iOS workloads.
59 lines
2.0 KiB
YAML
59 lines
2.0 KiB
YAML
name: Release (december-2020-12-18)
|
|
|
|
# Auto-publishes dorknet-server + dorknet-clientpatch zips to a
|
|
# GitHub Release on tag push. The launcher (on the public main
|
|
# branch) fetches the most-recent tag matching its prefix and
|
|
# downloads these assets, so the tag format MUST start with the
|
|
# branch's release_tag_prefix declared in versions.json.
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v1-december-*'
|
|
|
|
permissions:
|
|
contents: write # create the GitHub release + upload assets
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: windows-latest
|
|
|
|
env:
|
|
VERSION_KEY: december_2020_12_18
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: '10.0.x'
|
|
|
|
# ── Server self-contained publish ────────────────────────────────
|
|
- name: Publish DorkNet.Server (win-x64, self-contained)
|
|
run: |
|
|
dotnet publish DorkNet.Server/DorkNet.Server.csproj `
|
|
-c Release -r win-x64 --self-contained `
|
|
-p:PublishSingleFile=true `
|
|
-p:IncludeNativeLibrariesForSelfExtract=true `
|
|
-p:EnableCompressionInSingleFile=true `
|
|
-o publish/server
|
|
|
|
- name: Zip server publish
|
|
run: |
|
|
Compress-Archive -Path publish/server/* `
|
|
-DestinationPath dorknet-server-${{ env.VERSION_KEY }}-win-x64.zip
|
|
|
|
# ── Client patcher zip (built via tools/build_pc.py) ─────────────
|
|
- name: Build client patcher zip
|
|
run: |
|
|
python tools/build_pc.py patcher --version-key ${{ env.VERSION_KEY }}
|
|
|
|
# ── Publish both as Release assets ───────────────────────────────
|
|
- name: Upload Release assets
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: |
|
|
dorknet-server-${{ env.VERSION_KEY }}-win-x64.zip
|
|
dist/dorknet-clientpatch-${{ env.VERSION_KEY }}.zip
|
|
fail_on_unmatched_files: true
|