Make Linux and Mac Binaries Executable in pipeline (#356)

* Make Linux and Mac Binaries Executable in pipeline

* Update dotnet-publish-linux-mac-job.yml

* Update dotnet-publish-linux-mac-job.yml

* Temporarily comment out portions not being debugged.

* Add Inline

* Revert "Temporarily comment out portions not being debugged."

This reverts commit c3d7c312a5.

* Bump Dependencies

* Revert "Bump Dependencies"

This reverts commit cf192045cc.

* Fix VS Extension dependencies
This commit is contained in:
Gabe Stocco 2022-01-19 14:13:01 -08:00 коммит произвёл GitHub
Родитель afc9d872e0
Коммит 456d78fa02
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 31 добавлений и 19 удалений

Просмотреть файл

@ -6,9 +6,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -27,10 +27,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Glob" Version="1.1.8" />
<PackageReference Include="Microsoft.CST.RecursiveExtractor" Version="1.1.4" />
<PackageReference Include="Glob" Version="1.1.9" />
<PackageReference Include="Microsoft.CST.RecursiveExtractor" Version="1.1.6" />
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />
<PackageReference Include="Sarif.Sdk" Version="2.4.11" />
<PackageReference Include="Sarif.Sdk" Version="2.4.12" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -17,9 +17,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.8" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.8" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -183,7 +183,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
<Version>3.3.2</Version>
<Version>3.3.3</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
@ -258,16 +258,16 @@
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="Nerdbank.Streams">
<Version>2.8.46</Version>
<Version>2.8.54</Version>
</PackageReference>
<PackageReference Include="StreamJsonRpc">
<Version>2.8.28</Version>
<Version>2.9.85</Version>
</PackageReference>
<PackageReference Include="System.Collections.Immutable">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="System.IO.Pipelines">
<Version>5.0.1</Version>
<Version>6.0.1</Version>
</PackageReference>
<PackageReference Include="System.Net.Http">
<Version>4.3.4</Version>
@ -282,7 +282,7 @@
<Version>4.3.1</Version>
</PackageReference>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
<PackageReference Include="System.Security.Cryptography.Algorithms">
<Version>4.3.1</Version>
@ -291,10 +291,10 @@
<Version>4.3.2</Version>
</PackageReference>
<PackageReference Include="System.Text.Json">
<Version>5.0.0</Version>
<Version>6.0.1</Version>
</PackageReference>
<PackageReference Include="System.Threading.Tasks.Dataflow">
<Version>5.0.0</Version>
<Version>6.0.0</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -19,8 +19,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CST.OAT" Version="1.1.13" />
<PackageReference Include="System.Text.Json" Version="5.0.0" />
<PackageReference Include="Microsoft.CST.OAT" Version="1.1.16" />
<PackageReference Include="System.Text.Json" Version="6.0.1" />
</ItemGroup>
<ItemGroup>

Просмотреть файл

@ -69,6 +69,12 @@ jobs:
arguments: '${{ parameters.projectPath }} -c ${{ parameters.buildConfiguration }} -o bin/linux/${{ parameters.projectName }}_linux_$(ReleaseVersion) -r linux-x64 -f ${{ parameters.publishFramework }}'
publishWebProjects: false
zipAfterPublish: false
- task: Bash@3
displayName: Make Linux Executable
inputs:
targetType: 'inline'
script: chmod +x ${{ parameters.projectName }}_linux_$(ReleaseVersion)/devskim
workingDirectory: 'bin/linux/'
- task: DotNetCoreCLI@2
displayName: Publish MacOS x64
inputs:
@ -76,6 +82,12 @@ jobs:
arguments: '${{ parameters.projectPath }} -c ${{ parameters.buildConfiguration }} -o bin/macos/${{ parameters.projectName }}_macos_$(ReleaseVersion) -f ${{ parameters.publishFramework }} -r osx-x64'
publishWebProjects: false
zipAfterPublish: false
- task: Bash@3
displayName: Make MacOS Executable
inputs:
targetType: 'inline'
script: chmod +x ${{ parameters.projectName }}_macos_$(ReleaseVersion)/devskim
workingDirectory: 'bin/macos/'
- task: ArchiveFiles@2
displayName: Archive Builds
inputs: