Add net10.0 build target, update deps (#3200)
This commit is contained in:
12
.github/workflows/dotnet.yml
vendored
12
.github/workflows/dotnet.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user