Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Merge the unexpected changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntINFINAit authored and AntINFINAit committed Nov 26, 2020
2 parents 5e637af + 75078d3 commit ffcabc4
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<DebugSymbols>false</DebugSymbols>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Impostor.Api" Version="1.2.2-ci.116" />
Expand Down
107 changes: 107 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Made by Gavin Steinhoff
trigger:
branches:
include:
- main
paths:
exclude:
- ImpostorHQ.Dashboard/*

pr:
branches:
include:
- main
paths:
exclude:
- ImpostorHQ.Dashboard/*

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- task: NuGetCommand@2
displayName: Nuget Restore
inputs:
command: 'restore'
restoreSolution: '**/ImpostorHQ.Plugin.Fashionable.Designer.csproj'
feedsToUse: 'select'
- task: MSBuild@1
displayName: MS Build
inputs:
solution: '**/ImpostorHQ.Plugin.Fashionable.Designer.csproj'
configuration: '$(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: ".Net Restore"
inputs:
command: 'restore'
projects: |
**/*.csproj
!**/ImpostorHQ.Plugin.Fashionable.Designer.csproj
arguments: '--configuration $(buildConfiguration)'

- task: DotNetCoreCLI@2
displayName: ".Net Build"
inputs:
command: 'build'
projects: |
**/*.csproj
!**/ImpostorHQ.Plugin.Fashionable.Designer.csproj
arguments: '--configuration $(buildConfiguration) --no-restore'
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/Impostor.Commands.Core.dll'
TargetFolder: '$(Build.ArtifactStagingDirectory)/ImpostorCommandsCore'
flattenFolders: true
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/ImpostorHQ.Plugin.Fashionable.dll'
TargetFolder: '$(Build.ArtifactStagingDirectory)/ImpostorHQPlugin'
flattenFolders: true
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/ImpostorHQ.Plugin.HallOfShame.dll'
TargetFolder: '$(Build.ArtifactStagingDirectory)/ImpostorHQPlugin'
flattenFolders: true
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/Plugin.Test.dll'
TargetFolder: '$(Build.ArtifactStagingDirectory)/ImpostorHQPlugin'
flattenFolders: true
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/LogParser.exe'
TargetFolder: '$(Build.ArtifactStagingDirectory)/LogParser'
flattenFolders: true
- task: CopyFiles@2
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
inputs:
Contents: '**/ImpostorHQ.Plugin.Fashionable.Designer.exe'
TargetFolder: '$(Build.ArtifactStagingDirectory)/FashionableDesigner'
flattenFolders: true

- publish: '$(Build.ArtifactStagingDirectory)/ImpostorCommandsCore'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
artifact: ImpostorCommandsCore

- publish: '$(Build.ArtifactStagingDirectory)/ImpostorHQPlugin'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
artifact: ImpostorHQPlugins

- publish: '$(Build.ArtifactStagingDirectory)/LogParser'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
artifact: LogParser

- publish: '$(Build.ArtifactStagingDirectory)/FashionableDesigner'
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
artifact: FashionableDesigner

0 comments on commit ffcabc4

Please sign in to comment.