Skip to content

Commit 3ee9242

Browse files
MinoruForNeVeR
authored andcommitted
Fix CI builds
Update actions/setup-dotnet to 1.7.2 to avoid the use of deprecated `set-env` command, and add Nuget config to avoid NU1011 (solution copied from codingteam/emulsion#129).
1 parent 7179508 commit 3ee9242

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
# Backend
3838
- name: Setup .NET Core SDK
39-
uses: actions/setup-dotnet@v1.4.0
39+
uses: actions/setup-dotnet@v1.7.2
4040
with:
4141
dotnet-version: '3.1.201'
4242
- name: NuGet Cache

NuGet.Config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<configuration>
4+
<packageSources>
5+
<clear />
6+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
7+
</packageSources>
8+
</configuration>

codingteam.org.ru.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.26124.0
@@ -13,6 +13,7 @@ ProjectSection(SolutionItems) = preProject
1313
Readme.md = Readme.md
1414
Dockerfile = Dockerfile
1515
.dockerignore = .dockerignore
16+
NuGet.Config = NuGet.Config
1617
EndProjectSection
1718
EndProject
1819
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{339BA2DC-3628-4E8E-98CC-264B5A3625AA}"

0 commit comments

Comments
 (0)