Skip to content

Commit

Permalink
upgrade build.yml to .NET 6
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Mar 9, 2023
1 parent 3ba6ad5 commit bfdd6b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v2.0.0
uses: actions/checkout@v3.0.0

- name: setup .net core
uses: actions/setup-dotnet@v1.7.2
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.100

dotnet-version: '6.0'
- name: build
run: dotnet build
working-directory: ./src/Northwind/
2 changes: 1 addition & 1 deletion src/Northwind/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
WORKDIR /app
COPY publish/* ./
RUN test -e ./Northwind.sqlite && mkdir -p App_Data && mv ./Northwind.sqlite ./App_Data/Northwind.sqlite
Expand Down

0 comments on commit bfdd6b5

Please sign in to comment.