diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0e62e08..d504d2b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,14 +81,13 @@ jobs: path: ./artifacts/logs if-no-files-found: error - # TODO: Wire up building packages. Tracked by #13. - # - name: Upload packages - # uses: actions/upload-artifact@v4 - # with: - # name: packages-${{ matrix.os }} - # path: | - # ./artifacts/package - # if-no-files-found: error + - name: Upload packages + uses: actions/upload-artifact@v4 + with: + name: packages-${{ matrix.os }} + path: | + ./artifacts/package + if-no-files-found: error - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 diff --git a/Directory.Build.props b/Directory.Build.props index d0ca6976..226a1b2c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,6 +5,7 @@ + diff --git a/Directory.Build.targets b/Directory.Build.targets index 4954f602..d05e476b 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,6 +1,7 @@ + diff --git a/Directory.Packages.props b/Directory.Packages.props index dedddeb2..4ce5a3c2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,6 +3,9 @@ true true + + + @@ -12,7 +15,7 @@ - + diff --git a/Source/Moq.Analyzers.Test/PackageTests.Baseline#manifest.verified.nuspec b/Source/Moq.Analyzers.Test/PackageTests.Baseline#manifest.verified.nuspec index 070173ce..1eaaa906 100644 --- a/Source/Moq.Analyzers.Test/PackageTests.Baseline#manifest.verified.nuspec +++ b/Source/Moq.Analyzers.Test/PackageTests.Baseline#manifest.verified.nuspec @@ -12,7 +12,7 @@ Upgraded to support Visual Studio 2019 2015-2019 Andrey Lipatkin moq, mock, test, analyzers - + diff --git a/Source/Moq.Analyzers/Moq.Analyzers.csproj b/Source/Moq.Analyzers/Moq.Analyzers.csproj index 4cf7618e..709b626c 100644 --- a/Source/Moq.Analyzers/Moq.Analyzers.csproj +++ b/Source/Moq.Analyzers/Moq.Analyzers.csproj @@ -1,34 +1,13 @@  - 11.0 - Debug - AnyCPU - AnyCPU - {41ECC571-F586-460A-9BED-23528C8210C4} - Library - Properties Moq.Analyzers Moq.Analyzers - {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} netstandard2.0 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - - - pdbonly - true - bin\Release\ - TRACE + true + true - + Moq.Analyzers Andrey "Litee" Lipatkin BSD-3-Clause @@ -40,8 +19,6 @@ 2015-2019 Andrey Lipatkin moq, mock, test, analyzers true - true - true @@ -55,7 +32,6 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - diff --git a/build/targets/reproducible/Packages.props b/build/targets/reproducible/Packages.props new file mode 100644 index 00000000..44da4696 --- /dev/null +++ b/build/targets/reproducible/Packages.props @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/build/targets/reproducible/Reproducible.props b/build/targets/reproducible/Reproducible.props new file mode 100644 index 00000000..9211bfe7 --- /dev/null +++ b/build/targets/reproducible/Reproducible.props @@ -0,0 +1,7 @@ + + + + + + + diff --git a/build/targets/reproducible/Reproducible.targets b/build/targets/reproducible/Reproducible.targets new file mode 100644 index 00000000..8c119d54 --- /dev/null +++ b/build/targets/reproducible/Reproducible.targets @@ -0,0 +1,2 @@ + + diff --git a/global.json b/global.json index 33a07316..365dfcf4 100644 --- a/global.json +++ b/global.json @@ -2,5 +2,8 @@ "sdk": { "version": "8.0.101", "rollForward": "latestFeature" + }, + "msbuild-sdks": { + "DotNet.ReproducibleBuilds.Isolated": "1.1.1" } } \ No newline at end of file