Skip to content

Commit bfdd6b5

Browse files
committed
upgrade build.yml to .NET 6
1 parent 3ba6ad5 commit bfdd6b5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- name: checkout
14-
uses: actions/checkout@v2.0.0
14+
uses: actions/checkout@v3.0.0
1515

1616
- name: setup .net core
17-
uses: actions/setup-dotnet@v1.7.2
17+
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 5.0.100
20-
19+
dotnet-version: '6.0'
20+
2121
- name: build
2222
run: dotnet build
2323
working-directory: ./src/Northwind/

src/Northwind/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
1+
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
22
WORKDIR /app
33
COPY publish/* ./
44
RUN test -e ./Northwind.sqlite && mkdir -p App_Data && mv ./Northwind.sqlite ./App_Data/Northwind.sqlite

0 commit comments

Comments
 (0)