Skip to content

Commit

Permalink
Merge pull request #24 from ivanpaulovich/master
Browse files Browse the repository at this point in the history
.NET 6 update
  • Loading branch information
yohanb authored Nov 25, 2021
2 parents 51ca22e + fce7f54 commit a0270b8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup .NET Coreq
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
dotnet-version: 6.0.100
- name: Restore
run: dotnet restore
- name: Build
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100
dotnet-version: 6.0.100
- name: Build
run: dotnet build -c Release
- name: Create Release NuGet package
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/docker-example/ConsoleApp/bin/Debug/net5.0/ConsoleApp.dll",
"program": "${workspaceFolder}/docker-example/ConsoleApp/bin/Debug/net6.0/ConsoleApp.dll",
"args": [],
"cwd": "${workspaceFolder}/docker-example/ConsoleApp",
"console": "internalConsole",
Expand Down
2 changes: 1 addition & 1 deletion docker-example/ConsoleApp/ConsoleApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>

</Project>
4 changes: 2 additions & 2 deletions docker-example/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:5.0.100-buster-slim-amd64 as build-env
FROM mcr.microsoft.com/dotnet/sdk:6.0.100-bullseye-slim-amd64 as build-env
WORKDIR /app

# Copy csproj and restore as distinct layers
Expand All @@ -13,7 +13,7 @@ RUN dotnet publish -c Release -o /app/out
RUN dotnet tool install --tool-path /app/out dotnet-certificate-tool

# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:5.0.0-buster-slim-amd64
FROM mcr.microsoft.com/dotnet/aspnet:6.0.0-bullseye-slim-amd64
WORKDIR /app
COPY --from=build-env /app/out .
COPY ./docker-entrypoint.sh .
Expand Down
2 changes: 1 addition & 1 deletion docker-example/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "5.0.100"
"version": "6.0.100"
}
}
2 changes: 1 addition & 1 deletion src/GSoft.CertificateTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<OutputType>Exe</OutputType>
<Description>CLI tool that installs a certificate to the specified store (defaults to My).</Description>
<RepositoryUrl>https://github.com/gsoft-inc/dotnet-certificate-tool</RepositoryUrl>
<TargetFrameworks>net5.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit a0270b8

Please sign in to comment.