Skip to content

Commit ae0ab20

Browse files
committed
Set LangVersion to 7.1
1 parent f02cdda commit ae0ab20

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup .NET Core
1212
uses: actions/setup-dotnet@v1
1313
with:
14-
dotnet-version: 2.2.103
14+
dotnet-version: 5.0.201
1515

1616
- name: Build solution
1717
run: |
@@ -26,15 +26,3 @@ jobs:
2626
- name: Generate NuGet package
2727
run: |
2828
dotnet pack -c Release
29-
30-
# - name: Install NuGet client
31-
# uses: warrenbuckley/Setup-Nuget@v1
32-
#
33-
# - name: Add private GitHub registry to NuGet
34-
# run: |
35-
# nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/graphql-dotnet/index.json -Username tlil -Password ${{ secrets.GITHUB_TOKEN }}
36-
#
37-
# - name: Push generated package to GitHub registry
38-
# run: |
39-
# dir src\GraphQL.Conventions\bin\Release\*.nupkg
40-
# nuget push src\GraphQL.Conventions\bin\Release\*.nupkg -Source "GPR" -SkipDuplicate

src/GraphQL.Conventions/GraphQL.Conventions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<PackageVersion>4.0.0</PackageVersion>
77
<Authors>Tommy Lillehagen</Authors>
88
<TargetFrameworks>netstandard2.0</TargetFrameworks>
9+
<LangVersion>7.1</LangVersion>
910
<DepsFileGenerationMode>old</DepsFileGenerationMode>
1011
<DebugType>portable</DebugType>
1112
<AssemblyName>GraphQL.Conventions</AssemblyName>

0 commit comments

Comments
 (0)