Add net10.0 build target, update deps (#3200)

This commit is contained in:
Mihail Gribkov
2025-11-11 22:34:40 +03:00
committed by GitHub
parent 0aff637ecf
commit f205bba17f
19 changed files with 50 additions and 42 deletions

View File

@@ -19,21 +19,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
dotnet-version: 10.0.x
- name: Setup DocFX
run: dotnet tool install -g docfx --version 2.78.3
run: dotnet tool install -g docfx --version 2.78.4
- name: Build DNet docs
run: docfx docs/docfx.json
- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: static-docs
path: docs/_site
@@ -45,7 +45,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
steps:
- name: Download Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: static-docs
path: output/

View File

@@ -20,12 +20,12 @@ jobs:
IsTagBuild: false
DOTNET_INSTALL_DIR: "/usr/share/dotnet"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
dotnet-version: 10.0.x
- name: Is Tag Build
if: startsWith(github.ref, 'refs/tags/')
@@ -69,7 +69,7 @@ jobs:
# dotnet pack "experiment\Discord.Net.BuildOverrides\Discord.Net.BuildOverrides.csproj" --no-restore --no-build -v minimal -c Release -o ${{ env.ArtifactStagingDirectory }} /p:BuildNumber=${{ env.Suffix }} /p:IsTagBuild=${{ env.IsTagBuild }}
- name: Publish Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: discord-net
path: ${{ env.ArtifactStagingDirectory }}/*
@@ -84,7 +84,7 @@ jobs:
ArtifactStagingDirectory: "artifacts"
REPOSITORY_URL: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Is Tag Build
if: startsWith(github.ref, 'refs/tags/')
@@ -106,7 +106,7 @@ jobs:
nuget-version: '6.x'
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: discord-net
path: ${{ env.ArtifactStagingDirectory }}