Skip to content

Commit 0e0e12c

Browse files
committed
Added .NET 6.0 support
+ Updated nodejs to 16.0 in SDK image
1 parent 1a2b1ec commit 0e0e12c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: build-test-and-publish
33

44
steps:
55
- name: build-test-and-publish
6-
image: mcr.microsoft.com/dotnet/sdk:5.0
6+
image: mcr.microsoft.com/dotnet/sdk:6.0
77
environment:
88
NUGET_SERVER_ADRESS:
99
from_secret: NUGET_SERVER_ADRESS

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:5.0
1+
FROM mcr.microsoft.com/dotnet/sdk:6.0
22
WORKDIR /app
33

44
ARG SONAR_HOST
@@ -18,7 +18,7 @@ RUN apt-get update
1818
# Next line fix openjdk11 install
1919
RUN mkdir -p /usr/share/man/man1
2020
RUN apt install openjdk-11-jdk jq -y
21-
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
21+
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
2222
RUN apt-get install -y nodejs
2323

2424
# Build Project

Dysnomia.Common.BlizzardWebAPI.Test/Dysnomia.Common.BlizzardWebAPI.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

Dysnomia.Common.BlizzardWebAPI/Dysnomia.Common.BlizzardWebAPI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net5.0</TargetFrameworks>
3+
<TargetFrameworks>netcoreapp3.0;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
44
<Authors>Axel "Elanis" Soupé</Authors>
55
<Company>Dysnomia</Company>
66
<Description>A C# library to easily get data from Blizzard Web API</Description>

0 commit comments

Comments
 (0)