Skip to content

Commit

Permalink
Set LangVersion to 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tlil committed Mar 31, 2021
1 parent f02cdda commit ae0ab20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.103
dotnet-version: 5.0.201

- name: Build solution
run: |
Expand All @@ -26,15 +26,3 @@ jobs:
- name: Generate NuGet package
run: |
dotnet pack -c Release
# - name: Install NuGet client
# uses: warrenbuckley/Setup-Nuget@v1
#
# - name: Add private GitHub registry to NuGet
# run: |
# nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/graphql-dotnet/index.json -Username tlil -Password ${{ secrets.GITHUB_TOKEN }}
#
# - name: Push generated package to GitHub registry
# run: |
# dir src\GraphQL.Conventions\bin\Release\*.nupkg
# nuget push src\GraphQL.Conventions\bin\Release\*.nupkg -Source "GPR" -SkipDuplicate
1 change: 1 addition & 0 deletions src/GraphQL.Conventions/GraphQL.Conventions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<PackageVersion>4.0.0</PackageVersion>
<Authors>Tommy Lillehagen</Authors>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<LangVersion>7.1</LangVersion>
<DepsFileGenerationMode>old</DepsFileGenerationMode>
<DebugType>portable</DebugType>
<AssemblyName>GraphQL.Conventions</AssemblyName>
Expand Down

0 comments on commit ae0ab20

Please sign in to comment.