Skip to content

Commit 2b585e9

Browse files
committed
Use .NET 8 SDK artifacts output
1 parent 4e8e00e commit 2b585e9

File tree

5 files changed

+4
-12
lines changed

5 files changed

+4
-12
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/[email protected]
2929
with:
3030
name: NuGet packages
31-
path: bin/Packages/
31+
path: artifacts/package/
3232
retention-days: 7
3333
- name: Verify trimming compatibility
3434
run: dotnet publish TrimmingTestApp

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ _ReSharper*/
3838
*.DotSettings
3939

4040
_NCrunch_LibGit2Sharp/
41-
packages/
41+
artifacts/
4242
worktree.playlist

Diff for: Directory.Build.props

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
<PropertyGroup>
44
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5-
<OutputPath>$(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
6-
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
7-
<PackageOutputPath>$(MSBuildThisFileDirectory)bin\Packages\</PackageOutputPath>
5+
<UseArtifactsOutput>true</UseArtifactsOutput>
86
<DefineConstants Condition=" '$(ExtraDefine)' != '' ">$(DefineConstants);$(ExtraDefine)</DefineConstants>
97
</PropertyGroup>
108

Diff for: LibGit2Sharp/LibGit2Sharp.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<PackageReadmeFile>App_Readme/README.md</PackageReadmeFile>
2020
<PackageLicenseFile>App_Readme/LICENSE.md</PackageLicenseFile>
2121
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
22+
<PackageOutputPath>$(ArtifactsPath)\package</PackageOutputPath>
2223
<MinVerDefaultPreReleaseIdentifiers>preview.0</MinVerDefaultPreReleaseIdentifiers>
2324
<MinVerBuildMetadata Condition="'$(libgit2_hash)' != ''">libgit2-$(libgit2_hash.Substring(0,7))</MinVerBuildMetadata>
2425
</PropertyGroup>

Diff for: NativeLibraryLoadTestApp/Directory.Build.props

-7
This file was deleted.

0 commit comments

Comments
 (0)