Skip to content

Commit 5e52052

Browse files
committed
update build steps
1 parent 44a8b6c commit 5e52052

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/Build.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: FileSystem [Build]
22

33
env:
44
JAVA_VERSION: 11
5-
DOTNET_VERSION: 7.0.x
6-
DOTNET_INCLUDE_PRERELEASE_VERSIONS: true
5+
DOTNET_VERSION: 6.0.x
76
DOTNET_BUILD_CONFIGURATION: Release
87
SONAR_PATH: .\.sonar\scanner
98
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -25,20 +24,19 @@ jobs:
2524

2625
steps:
2726
- name: Checkout
28-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2928
with:
3029
fetch-depth: 0
3130

3231
- name: Set up Java
33-
uses: actions/setup-java@v1
32+
uses: actions/setup-java@v3
3433
with:
3534
java-version: ${{ env.JAVA_VERSION }}
3635

3736
- name: Setup .NET
38-
uses: actions/setup-dotnet@v1
37+
uses: actions/setup-dotnet@v3
3938
with:
4039
dotnet-version: ${{ env.DOTNET_VERSION }}
41-
include-prerelease: ${{ env.DOTNET_INCLUDE_PRERELEASE_VERSIONS }}
4240

4341
- name: Install SonarCloud scanner
4442
shell: powershell

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
44
<Nullable>enable</Nullable>
55
<LangVersion>8.0</LangVersion>
6+
<NoWarn>NU1701</NoWarn>
67
<IncludeSymbols>true</IncludeSymbols>
78
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
89
<PackageOutputPath>../NuGet</PackageOutputPath>

Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)