Skip to content

Commit

Permalink
Merge branch 'main' into badge
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsa authored Oct 11, 2024
2 parents 0705c71 + f2b70ad commit 61e21fa
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
dotnet-version: 8.x

- name: Setup NuGet
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2

- name: Restore dependencies
run: dotnet restore
Expand Down Expand Up @@ -67,6 +67,9 @@ jobs:
- name: Pack Analyzer.TemplateProcessing
run: nuget pack Analyzer.TemplateProcessing.NuGet/Analyzer.TemplateProcessing.nuspec -Version ${{ steps.get-version.outputs.result }} -Properties configuration=${{ env.Configuration }}

- name: pack Analyzer.Reports
run: nuget pack Analyzer.Reports.NuGet/Analyzer.Reports.nuspec -Version ${{ steps.get-version.outputs.result }} -Properties configuration=${{ env.Configuration }}

- name: (dotnet) Publish CLI
run: dotnet publish Analyzer.Cli/Analyzer.Cli.csproj --configuration ${{ env.Configuration }} --runtime ${{ matrix.runtimeId }} --self-contained /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true /p:DebugType=None /p:DebugSymbols=false

Expand Down
26 changes: 26 additions & 0 deletions src/Analyzer.Reports.NuGet/Analyzer.Reports.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Azure.Templates.Analyzer.Reports</id>
<version>$version$</version>
<authors>Microsoft</authors>
<description>Template analyzer output report generator supporting SARIF and console.</description>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<license type="expression">MIT</license>
<projectUrl>https://github.com/Azure/template-analyzer</projectUrl>
<tags>arm bicep azure template analyzer scanner deployment security sarif report</tags>

<dependencies>
<group targetFramework="net8.0">
<dependency id="Newtonsoft.json" version="13.0.3" />
<dependency id="Sarif.Sdk" version="2.4.12" />
<dependency id="System.IO.Abstractions" version="19.1.5" />
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="6.0.1" />
</group>
</dependencies>
</metadata>

<files>
<file src="..\Analyzer.Reports\bin\$configuration$\net8.0\*.dll" target="lib\net8.0" />
</files>
</package>

0 comments on commit 61e21fa

Please sign in to comment.