File tree Expand file tree Collapse file tree 4 files changed +23
-4
lines changed
Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ jobs:
7575 with :
7676 dotnet-version : ${{ needs.Variables.outputs.dotnet_sdk_version }}
7777
78- - name : ♺ Execute nuget restore
79- run : nuget restore
80- if : steps.cache-nuget.outputs.cache-hit != 'true'
81-
8278 - name : 🧰 Setup BuildToolkit
8379 uses : moryx-industry/setup-buildtoolkit@v1
8480
81+ - name : ♺ Execute nuget restore
82+ run : dotnet restore
83+ if : steps.cache-nuget.outputs.cache-hit != 'true'
84+
8585 - name : 🔨 Execute dotnet build
8686 run : |
8787 .\set-version.ps1 -RefName ${{ github.ref_name }} -IsTag ${{ github.ref_type == 'tag' && 1 || 0 }} -BuildNumber ${{ github.run_number }} -CommitHash ${{ github.sha }}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <configuration >
3+ <packageRestore >
4+ <!-- Allow NuGet to download missing packages -->
5+ <add key =" enabled" value =" True" />
6+
7+ <!-- Automatically check for missing packages during build in Visual Studio -->
8+ <add key =" automatic" value =" True" />
9+ </packageRestore >
10+
11+ <packageSources >
12+ <clear />
13+ <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" />
14+ </packageSources >
15+ </configuration >
Original file line number Diff line number Diff line change 88
99 <IsPackable >true</IsPackable >
1010 <PackAsTool >true</PackAsTool >
11+ <PackageReadmeFile >README.md</PackageReadmeFile >
1112 <ToolCommandName >moryx</ToolCommandName >
1213 <PackageOutputPath >./nupkg</PackageOutputPath >
1314 </PropertyGroup >
2122 <ProjectReference Include =" ..\Moryx.Cli.Commands\Moryx.Cli.Commands.csproj" />
2223 </ItemGroup >
2324
25+ <ItemGroup >
26+ <None Include =" ..\..\README.md" Pack =" true" PackagePath =" " />
27+ </ItemGroup >
2428
2529</Project >
You can’t perform that action at this time.
0 commit comments