File tree Expand file tree Collapse file tree
src/AwesomeGithubStats.Api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ jobs:
1717 steps :
1818
1919 - name : Checkout repository
20- uses : actions/checkout@v3
21-
22- - name : Setup .NET 8
23- uses : actions/setup-dotnet@v3
20+ uses : actions/checkout@v4
21+
22+ - name : Setup .NET 10
23+ uses : actions/setup-dotnet@v4
2424 with :
25- dotnet-version : 8 .0.x
25+ dotnet-version : 10 .0.x
2626
2727 - name : Restore dependencies
2828 run : dotnet restore
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ jobs:
1515
1616 steps :
1717 - name : Checkout repository
18- uses : actions/checkout@v3
19-
20- - name : Setup .NET 8
21- uses : actions/setup-dotnet@v3
18+ uses : actions/checkout@v4
19+
20+ - name : Setup .NET 10
21+ uses : actions/setup-dotnet@v4
2222 with :
23- dotnet-version : 8 .0.x
23+ dotnet-version : 10 .0.x
2424
2525 - name : Restore dependencies
2626 run : dotnet restore
Original file line number Diff line number Diff line change 11# See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22
3- FROM mcr.microsoft.com/dotnet/aspnet:5 .0 AS base
3+ FROM mcr.microsoft.com/dotnet/aspnet:10 .0 AS base
44WORKDIR /app
55EXPOSE 80
66EXPOSE 443
77
8- FROM mcr.microsoft.com/dotnet/sdk:5 .0 AS build
8+ FROM mcr.microsoft.com/dotnet/sdk:10 .0 AS build
99WORKDIR /src
10- COPY ["awesome-github-stats/awesome-github-stats.csproj" , "awesome-github-stats/" ]
11- RUN dotnet restore "awesome-github-stats/awesome-github-stats.csproj"
10+ COPY ["AwesomeGithubStats.Api/AwesomeGithubStats.Api.csproj" , "AwesomeGithubStats.Api/" ]
11+ COPY ["AwesomeGithubStats.Core/AwesomeGithubStats.Core.csproj" , "AwesomeGithubStats.Core/" ]
12+ RUN dotnet restore "AwesomeGithubStats.Api/AwesomeGithubStats.Api.csproj"
1213COPY . .
13- WORKDIR "/src/awesome-github-stats "
14- RUN dotnet build "awesome-github-stats .csproj" -c Release -o /app/build
14+ WORKDIR "/src/AwesomeGithubStats.Api "
15+ RUN dotnet build "AwesomeGithubStats.Api .csproj" -c Release -o /app/build
1516
1617FROM build AS publish
17- RUN dotnet publish "awesome-github-stats .csproj" -c Release -o /app/publish
18+ RUN dotnet publish "AwesomeGithubStats.Api .csproj" -c Release -o /app/publish
1819
1920FROM base AS final
2021WORKDIR /app
2122COPY --from=publish /app/publish .
22- ENTRYPOINT ["dotnet" , "awesome-github-stats .dll" ]
23+ ENTRYPOINT ["dotnet" , "AwesomeGithubStats.Api .dll" ]
You can’t perform that action at this time.
0 commit comments