update to .net 8

This commit is contained in:
Andy Pack 2024-01-21 20:50:51 +00:00
parent b700d94afb
commit 77c1e3c79e
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7
6 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@ name: ci
on: [push]
env:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'
jobs:
build:
@ -49,7 +49,7 @@ jobs:
gcloud functions deploy RunUserPlaylist \
--region europe-west2 \
--gen2 \
--runtime=dotnet6 \
--runtime=dotnet8 \
--entry-point Mixonomer.Func.RunUserPlaylist \
--trigger-topic run_user_playlist \
--set-env-vars GOOGLE_CLOUD_PROJECT=${{ vars.GCP_PROJECT }} \
@ -80,7 +80,7 @@ jobs:
gcloud functions deploy RunUserPlaylist \
--region europe-west2 \
--gen2 \
--runtime=dotnet6 \
--runtime=dotnet8 \
--entry-point Mixonomer.Func.RunUserPlaylist \
--trigger-topic run_user_playlist \
--set-env-vars GOOGLE_CLOUD_PROJECT=${{ vars.GCP_PROJECT }} \

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>default</LangVersion>