Bump more to .NET 8
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Sam Therapy 2024-01-31 16:46:20 +01:00
parent 97301b1162
commit ff4dad335f
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
4 changed files with 10 additions and 6 deletions

View File

@ -14,12 +14,12 @@ steps:
commands:
- git fetch --tags
- name: Build for Release
image: mcr.microsoft.com/dotnet/sdk:7.0
image: mcr.microsoft.com/dotnet/sdk:8.0
commands:
- dotnet build -c Release -p:SymbolPackageFormat=symbols.nupkg -p:ContinuousIntegrationBuild=true
- dotnet build -c Release -p:ContinuousIntegrationBuild=true
- name: Publish
image: mcr.microsoft.com/dotnet/sdk:7.0
image: mcr.microsoft.com/dotnet/sdk:8.0
environment:
API_KEY:
from_secret: API_KEY
@ -27,4 +27,4 @@ steps:
commands:
- cd src/Xdg.Directories
- dotnet nuget push bin/Release/\*.symbols.nupkg --api-key $API_KEY --source $NUGET_REPO
- dotnet nuget push bin/Release/\*.snupkg --api-key $API_KEY --source $NUGET_REPO
- dotnet nuget push bin/Release/\*.snupkg --api-key $API_KEY --source $NUGET_REPO

View File

@ -9,3 +9,7 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
operating-system: ["windows", "macos", "ubuntu"]
dotnet-version: ["7.0.x"]
dotnet-version: ["8.0.x"]
runs-on: ${{ matrix.operating-system }}-latest
@ -88,4 +88,4 @@ jobs:
run: |
dotnet nuget push src/Xdg.Directories/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_KEY }}
env:
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}
NUGET_API_KEY: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,5 +1,5 @@
DOTNET ?= dotnet
NETVERSION ?= net7.0
NETVERSION ?= net8.0
.PHONY: publish
publish: